Skip to content

Commit 83033a4

Browse files
committed
[ci skip] fixed rubocop spacing issue
1 parent 35b3940 commit 83033a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

activerecord/lib/active_record/associations.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1662,9 +1662,9 @@ def has_many(name, scope = nil, **options, &extension)
16621662
# If you want to ensure associated objects are revalidated on every update, use +validates_associated+.
16631663
# [+:autosave+]
16641664
# If +true+, always saves the associated object or destroys it if marked for destruction,
1665-
# when saving the parent object. If +false+, never save or destroy the associated object.
1665+
# when saving the parent object. If +false+, never save or destroy the associated object.
16661666
# By default, only saves the associated object if it's a new record. Setting this option
1667-
# to +true+ also enables validations on the associated object unless explicitly disabled
1667+
# to +true+ also enables validations on the associated object unless explicitly disabled
16681668
# with <tt>validate: false</tt>. This is because saving an object with invalid associated
16691669
# objects would fail, so any associated objects will go through validation checks.
16701670
#

0 commit comments

Comments
 (0)