Sha256: 0dbd8cb4320050216be17772bb2e00d493c6de7a789d9c3c3b646ea9abd2bbce

Contents?: true

Size: 719 Bytes

Versions: 40

Compression:

Stored size: 719 Bytes

Contents

class ReserveStatHasManifestation < ActiveRecord::Base
  belongs_to :manifestation_reserve_stat
  belongs_to :manifestation

  validates_uniqueness_of :manifestation_id, :scope => :manifestation_reserve_stat_id
  validates_presence_of :manifestation_reserve_stat_id, :manifestation_id

  def self.per_page
    10
  end
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

40 entries across 40 versions & 1 rubygems

Version Path
enju_circulation-0.0.43 app/models/reserve_stat_has_manifestation.rb
enju_circulation-0.0.42 app/models/reserve_stat_has_manifestation.rb
enju_circulation-0.0.41 app/models/reserve_stat_has_manifestation.rb
enju_circulation-0.0.40 app/models/reserve_stat_has_manifestation.rb
enju_circulation-0.0.39 app/models/reserve_stat_has_manifestation.rb
enju_circulation-0.0.38 app/models/reserve_stat_has_manifestation.rb
enju_circulation-0.0.37 app/models/reserve_stat_has_manifestation.rb
enju_circulation-0.0.36 app/models/reserve_stat_has_manifestation.rb
enju_circulation-0.0.35 app/models/reserve_stat_has_manifestation.rb
enju_circulation-0.0.34 app/models/reserve_stat_has_manifestation.rb
enju_circulation-0.0.33 app/models/reserve_stat_has_manifestation.rb
enju_circulation-0.0.32 app/models/reserve_stat_has_manifestation.rb
enju_circulation-0.0.31 app/models/reserve_stat_has_manifestation.rb
enju_circulation-0.0.30 app/models/reserve_stat_has_manifestation.rb
enju_circulation-0.0.29 app/models/reserve_stat_has_manifestation.rb
enju_circulation-0.0.28 app/models/reserve_stat_has_manifestation.rb
enju_circulation-0.0.27 app/models/reserve_stat_has_manifestation.rb
enju_circulation-0.0.26 app/models/reserve_stat_has_manifestation.rb
enju_circulation-0.0.25 app/models/reserve_stat_has_manifestation.rb
enju_circulation-0.0.24 app/models/reserve_stat_has_manifestation.rb