Sha256: 393bd447f49efae7752127c673f7fda41c76e59f39138a9437929d80ffc362a9
Contents?: true
Size: 267 Bytes
Versions: 2
Compression:
Stored size: 267 Bytes
Contents
class Manifestation < ActiveRecord::Base belongs_to :carrier_type has_many :exemplifies, :foreign_key => 'manifestation_id' has_many :items, :through => :exemplifies searchable do boolean :reservable do items.for_checkout.exists? end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
enju_circulation-0.0.4 | spec/dummy/app/models/manifestation.rb |
enju_circulation-0.0.3 | spec/dummy/app/models/manifestation.rb |