test/fixtures/book.rb in dase-3.2.2 vs test/fixtures/book.rb in dase-3.2.4
- old
+ new
@@ -2,6 +2,8 @@
attr_accessible :title, :year
belongs_to :author
has_many :quotes
+ scope :year2012, lambda{ where(:year => 2012) }
+
end
- old
+ new