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