Sha256: 180760a943b09010e36b020aff9ecbb094c2783c72e52a2234c1316de5522df7
Contents?: true
Size: 800 Bytes
Versions: 1
Compression:
Stored size: 800 Bytes
Contents
class CheckoutStatHasManifestation < ActiveRecord::Base attr_accessible :manifestation_checkout_stat_id, :manifestation_id, as: :admin belongs_to :manifestation_checkout_stat belongs_to :manifestation validates_uniqueness_of :manifestation_id, scope: :manifestation_checkout_stat_id validates_presence_of :manifestation_checkout_stat_id, :manifestation_id paginates_per 10 end # == Schema Information # # Table name: checkout_stat_has_manifestations # # id :integer not null, primary key # manifestation_checkout_stat_id :integer not null # manifestation_id :integer not null # checkouts_count :integer # created_at :datetime # updated_at :datetime #
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
enju_circulation-0.1.0.pre41 | app/models/checkout_stat_has_manifestation.rb |