diff options
Diffstat (limited to 'activerecord/test/models/reader.rb')
-rw-r--r-- | activerecord/test/models/reader.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/models/reader.rb b/activerecord/test/models/reader.rb index 14b5f60a72..91afc1898c 100644 --- a/activerecord/test/models/reader.rb +++ b/activerecord/test/models/reader.rb @@ -15,7 +15,7 @@ end class LazyReader < ActiveRecord::Base self.table_name = "readers" default_scope -> { where(skimmer: true) } - + scope :skimmers_or_not, -> { unscope(:where => :skimmer) } belongs_to :post |