diff options
author | Tim Wade <hello@timjwade.com> | 2015-04-24 09:02:38 -0400 |
---|---|---|
committer | Tim Wade <hello@timjwade.com> | 2015-04-24 09:02:38 -0400 |
commit | f207d948c86599bb4aaab5fe07a612455d865027 (patch) | |
tree | 1a76825f072d03b653e3a506decf267360e4c3db /activemodel/lib | |
parent | ed6de3afcc8069bfa1e0c9098a3e5ed6ff532af4 (diff) | |
download | rails-f207d948c86599bb4aaab5fe07a612455d865027.tar.gz rails-f207d948c86599bb4aaab5fe07a612455d865027.tar.bz2 rails-f207d948c86599bb4aaab5fe07a612455d865027.zip |
Fix grammar/style: assigns/declares -> assignments/declarations.
[ci skip]
Diffstat (limited to 'activemodel/lib')
-rw-r--r-- | activemodel/lib/active_model/attribute_methods.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activemodel/lib/active_model/attribute_methods.rb b/activemodel/lib/active_model/attribute_methods.rb index dbd03e0f49..ff7280f9e5 100644 --- a/activemodel/lib/active_model/attribute_methods.rb +++ b/activemodel/lib/active_model/attribute_methods.rb @@ -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> |