diff options
author | Sebastian Martinez <sebastian@wyeworks.com> | 2011-03-26 11:42:26 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2011-03-26 12:09:04 -0300 |
commit | 45c233ef819dc7b67e259dd73f24721fec28b8c8 (patch) | |
tree | 7b35f2f44535f2ad0edc896bcd06be94e960e20a /activerecord/test/cases/base_test.rb | |
parent | eb8beb32b072f581720111d87855610403b3bb0c (diff) | |
download | rails-45c233ef819dc7b67e259dd73f24721fec28b8c8.tar.gz rails-45c233ef819dc7b67e259dd73f24721fec28b8c8.tar.bz2 rails-45c233ef819dc7b67e259dd73f24721fec28b8c8.zip |
Removed #update_attribute method. New #update_column method.
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Diffstat (limited to 'activerecord/test/cases/base_test.rb')
-rw-r--r-- | activerecord/test/cases/base_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/base_test.rb b/activerecord/test/cases/base_test.rb index fba7af741d..aeb0b28bab 100644 --- a/activerecord/test/cases/base_test.rb +++ b/activerecord/test/cases/base_test.rb @@ -484,7 +484,7 @@ class BasicsTest < ActiveRecord::TestCase weird.reload assert_equal 'value', weird.send('a$b') - weird.update_attribute('a$b', 'value2') + weird.update_column('a$b', 'value2') weird.reload assert_equal 'value2', weird.send('a$b') end |