spec/model/reader.rb in unread-0.5.0 vs spec/model/reader.rb in unread-0.6.0

- old
+ new

@@ -2,7 +2,7 @@ self.primary_key = 'number' scope :not_foo, -> { where('name <> "foo"') } scope :not_bar, -> { where('name <> "bar"') } - acts_as_reader :scopes => [:not_foo, :not_bar] + acts_as_reader :scope => -> { not_foo.not_bar } end