Sha256: c6c192989af8fe7ddeb884cebbb3d4613e6505d47b2eaa584d0f9319162380bf
Contents?: true
Size: 706 Bytes
Versions: 1
Compression:
Stored size: 706 Bytes
Contents
class ReserveStatHasUser < ApplicationRecord # attr_accessible # attr_accessible :user_reserve_stat_id, :user_id, # as: :admin belongs_to :user_reserve_stat belongs_to :user validates :user_id, uniqueness: { scope: :user_reserve_stat_id } validates :user_reserve_stat_id, :user_id, presence: true paginates_per 10 end # == Schema Information # # Table name: reserve_stat_has_users # # id :bigint not null, primary key # user_reserve_stat_id :bigint not null # user_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_user.rb |