Permalink
Browse files

Update activerecord/lib/active_record/persistence.rb

- Changed the comments documentation for the update_column(s) methods to add a little bit of clarity
  • Loading branch information...
1 parent c0a182d commit a2e34f1f637b313285a1a98a7a085936cb3939e9 @AHaymond AHaymond committed Oct 4, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/lib/active_record/persistence.rb
@@ -197,7 +197,7 @@ def update_attributes!(attributes)
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 @@ def update_column(name, value)
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.

0 comments on commit a2e34f1

Please sign in to comment.