mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Merge remote branch 'docrails/master'
This commit is contained in:
@@ -56,7 +56,7 @@ module ActionView
|
||||
# you're following its conventions for RecordIdentifier#partial_path. Examples:
|
||||
#
|
||||
# # @account is an Account instance, so it uses the RecordIdentifier to replace
|
||||
# # <%= render :partial => "accounts/account", :locals => { :account => @buyer } %>
|
||||
# # <%= render :partial => "accounts/account", :locals => { :account => @account} %>
|
||||
# <%= render :partial => @account %>
|
||||
#
|
||||
# # @posts is an array of Post instances, so it uses the RecordIdentifier to replace
|
||||
|
||||
@@ -7,7 +7,7 @@ end
|
||||
|
||||
# It is recommend to use <tt>class_attribute</tt> over methods defined in this file. Please
|
||||
# refer to documentation for <tt>class_attribute</tt> for more information. Officially it is not
|
||||
# deprected but <tt>class_attribute</tt> is faster.
|
||||
# deprecated but <tt>class_attribute</tt> is faster.
|
||||
#
|
||||
# Allows attributes to be shared within an inheritance hierarchy. Each descendant gets a copy of
|
||||
# their parents' attributes, instead of just a pointer to the same. This means that the child can add elements
|
||||
|
||||
Reference in New Issue
Block a user