Permalink
Browse files

Made Base#update_attributes actually work

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@209 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent bb9975f commit 3bef4c246a3d2e1a53b874c09b0a4b22cfbae067 @dhh dhh committed Dec 18, 2004
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/base.rb
View
2 activerecord/lib/active_record/base.rb
@@ -794,7 +794,7 @@ def update_attribute(name, value)
# Updates all the attributes in from the passed hash and saves the record.
def update_attributes(attributes)
- attributes = attributes
+ self.attributes = attributes
return save
end

0 comments on commit 3bef4c2

Please sign in to comment.