1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix grammar/style: assigns/declares -> assignments/declarations.

[ci skip]
This commit is contained in:
Tim Wade 2015-04-24 09:02:38 -04:00
parent ed6de3afcc
commit f207d948c8
No known key found for this signature in database
GPG key ID: D4693C0B535435FD

View file

@ -239,7 +239,7 @@ module ActiveModel
#
# # Call to define_attribute_methods must appear after the
# # attribute_method_prefix, attribute_method_suffix or
# # attribute_method_affix declares.
# # attribute_method_affix declarations.
# define_attribute_methods :name, :age, :address
#
# private
@ -267,7 +267,7 @@ module ActiveModel
#
# # Call to define_attribute_method must appear after the
# # attribute_method_prefix, attribute_method_suffix or
# # attribute_method_affix declares.
# # attribute_method_affix declarations.
# define_attribute_method :name
#
# private
@ -419,7 +419,7 @@ module ActiveModel
# returned by <tt>attributes</tt>, as though they were first-class
# methods. So a +Person+ class with a +name+ attribute can for example use
# <tt>Person#name</tt> and <tt>Person#name=</tt> and never directly use
# the attributes hash -- except for multiple assigns with
# the attributes hash -- except for multiple assignments with
# <tt>ActiveRecord::Base#attributes=</tt>.
#
# It's also possible to instantiate related objects, so a <tt>Client</tt>