aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-10-04 09:33:16 -0700
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-10-04 09:33:16 -0700
commit7d204ed126e69ec1b88ea07fd630f6d54936d1ef (patch)
tree1e5f8dd553722fe8f0939a507fda6ebb98ee5601
parentc0a182d54a5d718711be4f62d52070f738354822 (diff)
parenta2e34f1f637b313285a1a98a7a085936cb3939e9 (diff)
downloadrails-7d204ed126e69ec1b88ea07fd630f6d54936d1ef.tar.gz
rails-7d204ed126e69ec1b88ea07fd630f6d54936d1ef.tar.bz2
rails-7d204ed126e69ec1b88ea07fd630f6d54936d1ef.zip
Merge pull request #7846 from ahaymond/master
Updated comments for [ci skip]
-rw-r--r--activerecord/lib/active_record/persistence.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/persistence.rb b/activerecord/lib/active_record/persistence.rb
index f81eb5f5d1..0107667fbe 100644
--- a/activerecord/lib/active_record/persistence.rb
+++ b/activerecord/lib/active_record/persistence.rb
@@ -197,7 +197,7 @@ module ActiveRecord
end
end
- # Updates a single attribute of an object, without calling save.
+ # Updates a single attribute of an object, without having to call save on that object.
#
# * Validation is skipped.
# * Callbacks are skipped.
@@ -209,7 +209,7 @@ module ActiveRecord
update_columns(name => value)
end
- # Updates the attributes from the passed-in hash, without calling save.
+ # Updates the attributes from the passed-in hash, without having to call save on that object.
#
# * Validation is skipped.
# * Callbacks are skipped.