Sha256: 243e1a27017ed521c8927162acd5abf7ffab1db7848552b7645c11f39e1e2686

Contents?: true

Size: 802 Bytes

Versions: 21

Compression:

Stored size: 802 Bytes

Contents

class CheckoutStatHasManifestation < ActiveRecord::Base
  #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

21 entries across 21 versions & 1 rubygems

Version Path
enju_circulation-0.2.5 app/models/checkout_stat_has_manifestation.rb
enju_circulation-0.2.4 app/models/checkout_stat_has_manifestation.rb
enju_circulation-0.2.3 app/models/checkout_stat_has_manifestation.rb
enju_circulation-0.2.2 app/models/checkout_stat_has_manifestation.rb
enju_circulation-0.2.1 app/models/checkout_stat_has_manifestation.rb
enju_circulation-0.2.0 app/models/checkout_stat_has_manifestation.rb
enju_circulation-0.2.0.beta.4 app/models/checkout_stat_has_manifestation.rb
enju_circulation-0.2.0.beta.3 app/models/checkout_stat_has_manifestation.rb
enju_circulation-0.2.0.beta.2 app/models/checkout_stat_has_manifestation.rb
enju_circulation-0.2.0.beta.1 app/models/checkout_stat_has_manifestation.rb
enju_circulation-0.1.2 app/models/checkout_stat_has_manifestation.rb
enju_circulation-0.1.1 app/models/checkout_stat_has_manifestation.rb
enju_circulation-0.1.0 app/models/checkout_stat_has_manifestation.rb
enju_circulation-0.1.0.pre49 app/models/checkout_stat_has_manifestation.rb
enju_circulation-0.1.0.pre48 app/models/checkout_stat_has_manifestation.rb
enju_circulation-0.1.0.pre47 app/models/checkout_stat_has_manifestation.rb
enju_circulation-0.1.0.pre46 app/models/checkout_stat_has_manifestation.rb
enju_circulation-0.1.0.pre45 app/models/checkout_stat_has_manifestation.rb
enju_circulation-0.1.0.pre44 app/models/checkout_stat_has_manifestation.rb
enju_circulation-0.1.0.pre43 app/models/checkout_stat_has_manifestation.rb