Sha256: a69e7bc16b64cde66fc8c9fd2bd570cb1fd7674ef6fbd0ebc26fb447e25f6c3e

Contents?: true

Size: 806 Bytes

Versions: 1

Compression:

Stored size: 806 Bytes

Contents

class ReserveStatHasManifestation < ActiveRecord::Base
  attr_accessible
  attr_accessible :manifestation_reserve_stat_id, :manifestation_id,
    as: :admin
  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

  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

1 entries across 1 versions & 1 rubygems

Version Path
enju_circulation-0.1.0.pre41 app/models/reserve_stat_has_manifestation.rb