diff options
Diffstat (limited to 'activerecord/test/models/without_table.rb')
-rw-r--r-- | activerecord/test/models/without_table.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/activerecord/test/models/without_table.rb b/activerecord/test/models/without_table.rb index 1a63d6ceb6..184ab1649e 100644 --- a/activerecord/test/models/without_table.rb +++ b/activerecord/test/models/without_table.rb @@ -1,5 +1,3 @@ class WithoutTable < ActiveRecord::Base - def self.default_scope - where(:published => true) - end + default_scope where(:published => true) end |