Sha256: 2f90ff8ee287f2cfda73152c98bdfa6694dd753337baf07332a314447f76f996
Contents?: true
Size: 808 Bytes
Versions: 12
Compression:
Stored size: 808 Bytes
Contents
class CheckoutStatHasManifestation < ApplicationRecord # attr_accessible :manifestation_checkout_stat_id, :manifestation_id, # as: :admin belongs_to :manifestation_checkout_stat belongs_to :manifestation validates :manifestation_id, uniqueness: { scope: :manifestation_checkout_stat_id } validates :manifestation_checkout_stat_id, :manifestation_id, presence: true 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
12 entries across 12 versions & 1 rubygems