Sha256: d707c6900c19ae2d05316aa8bd15fdec5fdb9389b345e8d572a84dd9868fca28
Contents?: true
Size: 710 Bytes
Versions: 6
Compression:
Stored size: 710 Bytes
Contents
class ReserveStatHasManifestation < ActiveRecord::Base belongs_to :manifestation_reserve_stat belongs_to :manifestation validates :manifestation_id, uniqueness: { scope: :manifestation_reserve_stat_id } validates :manifestation_reserve_stat_id, :manifestation_id, presence: true paginates_per 10 end # == Schema Information # # Table name: reserve_stat_has_manifestations # # id :integer not null, primary key # manifestation_reserve_stat_id :integer not null # manifestation_id :integer not null # reserves_count :integer # created_at :datetime # updated_at :datetime #
Version data entries
6 entries across 6 versions & 1 rubygems