Sha256: 23fd88132d7e7c87f85bde03d49f6f14dbca9a6e1f7d13e5df7695a50932376f
Contents?: true
Size: 835 Bytes
Versions: 4
Compression:
Stored size: 835 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 not null # updated_at :datetime not null #
Version data entries
4 entries across 4 versions & 1 rubygems