Skip to content

Commit f207d94

Browse files
committed
Fix grammar/style: assigns/declares -> assignments/declarations.
[ci skip]
1 parent ed6de3a commit f207d94

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

activemodel/lib/active_model/attribute_methods.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def attribute_alias(name)
239239
#
240240
# # Call to define_attribute_methods must appear after the
241241
# # attribute_method_prefix, attribute_method_suffix or
242-
# # attribute_method_affix declares.
242+
# # attribute_method_affix declarations.
243243
# define_attribute_methods :name, :age, :address
244244
#
245245
# private
@@ -267,7 +267,7 @@ def define_attribute_methods(*attr_names)
267267
#
268268
# # Call to define_attribute_method must appear after the
269269
# # attribute_method_prefix, attribute_method_suffix or
270-
# # attribute_method_affix declares.
270+
# # attribute_method_affix declarations.
271271
# define_attribute_method :name
272272
#
273273
# private
@@ -419,7 +419,7 @@ def plain?
419419
# returned by <tt>attributes</tt>, as though they were first-class
420420
# methods. So a +Person+ class with a +name+ attribute can for example use
421421
# <tt>Person#name</tt> and <tt>Person#name=</tt> and never directly use
422-
# the attributes hash -- except for multiple assigns with
422+
# the attributes hash -- except for multiple assignments with
423423
# <tt>ActiveRecord::Base#attributes=</tt>.
424424
#
425425
# It's also possible to instantiate related objects, so a <tt>Client</tt>

0 commit comments

Comments
 (0)