aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2011-12-06 10:07:47 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2011-12-06 10:07:47 -0800
commit9dee5400845a5355b28868c475bc58c6cfb06216 (patch)
tree9cab2fce3d87fbcf4e647ca71e6c0b539a2f6134 /activerecord
parent0968ee3456a874aa46d37d68b2d7d2dd0a84a5fe (diff)
downloadrails-9dee5400845a5355b28868c475bc58c6cfb06216.tar.gz
rails-9dee5400845a5355b28868c475bc58c6cfb06216.tar.bz2
rails-9dee5400845a5355b28868c475bc58c6cfb06216.zip
avoid deprecated methods
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/migration_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/migration_test.rb b/activerecord/test/cases/migration_test.rb
index 6b17d3d63e..42d62eca8e 100644
--- a/activerecord/test/cases/migration_test.rb
+++ b/activerecord/test/cases/migration_test.rb
@@ -1555,7 +1555,7 @@ if ActiveRecord::Base.connection.supports_migrations?
assert_equal "hello world", Thing.find(:first).content
RenameThings.up
- Thing.set_table_name("prefix_awesome_things_suffix")
+ Thing.table_name = "prefix_awesome_things_suffix"
assert_equal "hello world", Thing.find(:first).content
ensure