aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/autosave_association.rb
diff options
context:
space:
mode:
authorRobert Eshleman <c.robert.eshleman@gmail.com>2015-08-20 15:57:05 -0400
committerRobert Eshleman <c.robert.eshleman@gmail.com>2015-08-20 15:57:05 -0400
commit23dbe10f221fec406d95b70c9c0bfc06cd5fe2f4 (patch)
treec324effc27c72b1118e92c0c6095b0978e4d9401 /activerecord/lib/active_record/autosave_association.rb
parent86e0136f4815ebf5b3a3eadbf980b36735ec6748 (diff)
downloadrails-23dbe10f221fec406d95b70c9c0bfc06cd5fe2f4.tar.gz
rails-23dbe10f221fec406d95b70c9c0bfc06cd5fe2f4.tar.bz2
rails-23dbe10f221fec406d95b70c9c0bfc06cd5fe2f4.zip
Fix Punctuation in `AutosaveAssociation` RDoc
[ci skip]
Diffstat (limited to 'activerecord/lib/active_record/autosave_association.rb')
-rw-r--r--activerecord/lib/active_record/autosave_association.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/autosave_association.rb b/activerecord/lib/active_record/autosave_association.rb
index dbb0e2fab2..d0de42d27c 100644
--- a/activerecord/lib/active_record/autosave_association.rb
+++ b/activerecord/lib/active_record/autosave_association.rb
@@ -234,7 +234,7 @@ module ActiveRecord
super
end
- # Marks this record to be destroyed as part of the parents save transaction.
+ # Marks this record to be destroyed as part of the parent's save transaction.
# This does _not_ actually destroy the record instantly, rather child record will be destroyed
# when <tt>parent.save</tt> is called.
#
@@ -243,7 +243,7 @@ module ActiveRecord
@marked_for_destruction = true
end
- # Returns whether or not this record will be destroyed as part of the parents save transaction.
+ # Returns whether or not this record will be destroyed as part of the parent's save transaction.
#
# Only useful if the <tt>:autosave</tt> option on the parent is enabled for this associated model.
def marked_for_destruction?