diff options
author | Adam Haymond <ahaymond@middil.com> | 2012-10-10 10:19:14 -0600 |
---|---|---|
committer | Adam Haymond <ahaymond@middil.com> | 2012-10-10 10:19:14 -0600 |
commit | 2d554313409cf883313df15aecfcbfab4410daee (patch) | |
tree | cd9009c6cffe745237b6363f0b2fcf0a20c3bcda /activerecord | |
parent | 23839ab8c60a5133d2afdec254ed579166479e21 (diff) | |
download | rails-2d554313409cf883313df15aecfcbfab4410daee.tar.gz rails-2d554313409cf883313df15aecfcbfab4410daee.tar.bz2 rails-2d554313409cf883313df15aecfcbfab4410daee.zip |
Added clarity to update_column(s)
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/persistence.rb | 4 |
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. |