Sha256: 601624cadc2ab2c6cd57cb5c2daaea7728cdf0221907c5d5484e72abf1dbd9fa

Contents?: true

Size: 128 Bytes

Versions: 6

Compression:

Stored size: 128 Bytes

Contents

class Book < ActiveRecord::Base
  belongs_to :author
  has_many :quotes

  scope :year2012, lambda{ where(:year => 2012) }

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dase-5.0.0 test/fixtures/book.rb
dase-5.1.0 test/fixtures/book.rb
dase-4.2.1 test/fixtures/book.rb
dase-4.2.0 test/fixtures/book.rb
dase-4.1.1 test/fixtures/book.rb
dase-4.1.0 test/fixtures/book.rb