Sha256: 671205d21df8495bcabac9af6a2a7d5e6a009ba4f1628366eda279828580d277
Contents?: true
Size: 743 Bytes
Versions: 1
Compression:
Stored size: 743 Bytes
Contents
class ReserveStatHasManifestation < ApplicationRecord 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 :bigint not null, primary key # manifestation_reserve_stat_id :bigint not null # manifestation_id :bigint not null # reserves_count :integer # created_at :datetime not null # updated_at :datetime not null #
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
enju_circulation-0.4.0.rc.1 | app/models/reserve_stat_has_manifestation.rb |