aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/joke.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/joke.rb')
-rw-r--r--activerecord/test/models/joke.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/models/joke.rb b/activerecord/test/models/joke.rb
index d7f01e59e6..edda4655dc 100644
--- a/activerecord/test/models/joke.rb
+++ b/activerecord/test/models/joke.rb
@@ -1,7 +1,7 @@
class Joke < ActiveRecord::Base
- set_table_name 'funny_jokes'
+ self.table_name = 'funny_jokes'
end
class GoodJoke < ActiveRecord::Base
- set_table_name 'funny_jokes'
+ self.table_name = 'funny_jokes'
end