Sha256: 71760eb04643acf073ac116479b71827d92d408e0ec6fbf65a1c8ed147b9b0b5

Contents?: true

Size: 822 Bytes

Versions: 7

Compression:

Stored size: 822 Bytes

Contents

class CheckoutStatHasManifestation < ActiveRecord::Base
  attr_accessible
  attr_accessible :manifestation_checkout_stat_id, :manifestation_id,
    :as => :admin
  belongs_to :manifestation_checkout_stat
  belongs_to :manifestation

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

  paginates_per 10
end

# == Schema Information
#
# Table name: checkout_stat_has_manifestations
#
#  id                             :integer         not null, primary key
#  manifestation_checkout_stat_id :integer         not null
#  manifestation_id               :integer         not null
#  checkouts_count                :integer
#  created_at                     :datetime
#  updated_at                     :datetime
#

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
enju_circulation-0.1.0.pre7 app/models/checkout_stat_has_manifestation.rb
enju_circulation-0.1.0.pre6 app/models/checkout_stat_has_manifestation.rb
enju_circulation-0.1.0.pre5 app/models/checkout_stat_has_manifestation.rb
enju_circulation-0.1.0.pre4 app/models/checkout_stat_has_manifestation.rb
enju_circulation-0.1.0.pre3 app/models/checkout_stat_has_manifestation.rb
enju_circulation-0.1.0.pre2 app/models/checkout_stat_has_manifestation.rb
enju_circulation-0.1.0.pre app/models/checkout_stat_has_manifestation.rb