aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2007-09-22 18:17:53 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2007-09-22 18:17:53 +0000
commit286bd9b9f064fbfb67a9518f8b5216d03c496312 (patch)
tree66543ce83873105838fa5def4786db5943b16f9e
parent18a24274ec823ded4ffa29bf33fd3d76816aab7e (diff)
downloadrails-286bd9b9f064fbfb67a9518f8b5216d03c496312.tar.gz
rails-286bd9b9f064fbfb67a9518f8b5216d03c496312.tar.bz2
rails-286bd9b9f064fbfb67a9518f8b5216d03c496312.zip
Docfix (closes #8767) [kampers]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7561 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rwxr-xr-xactiverecord/lib/active_record/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index 16afb3b789..25cd392f9b 100755
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -1735,7 +1735,7 @@ module ActiveRecord #:nodoc:
# Updates a single attribute and saves the record. This is especially useful for boolean flags on existing records.
# Note: This method is overwritten by the Validation module that'll make sure that updates made with this method
- # doesn't get subjected to validation checks. Hence, attributes can be updated even if the full object isn't valid.
+ # aren't subjected to validation checks. Hence, attributes can be updated even if the full object isn't valid.
def update_attribute(name, value)
send(name.to_s + '=', value)
save