Skip to content

Commit

Permalink
Copy edit documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca committed Apr 19, 2024
1 parent 5e4f2d3 commit 339035c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion activerecord/lib/active_record/associations.rb
Expand Up @@ -1662,7 +1662,9 @@ def has_many(name, scope = nil, **options, &extension)
# If you want to ensure associated objects are revalidated on every update, use +validates_associated+.
# [+:autosave+]
# If +true+, always saves the associated object or destroys it if marked for destruction,
# when saving the parent object. If +false+, never save or destroy the associated object.
# when saving the parent object.
# If +false+, never save or destroy the associated object.
#
# By default, only saves the associated object if it's a new record. Setting this option
# to +true+ also enables validations on the associated object unless explicitly disabled
# with <tt>validate: false</tt>. This is because saving an object with invalid associated
Expand Down

0 comments on commit 339035c

Please sign in to comment.