Sha256: d9928c913c7c84fc92927516f662d4a071cf9a0277751b37d2bdd407d379a01d

Contents?: true

Size: 709 Bytes

Versions: 6

Compression:

Stored size: 709 Bytes

Contents

class BookmarkStatHasManifestation < ActiveRecord::Base
  attr_accessible
  attr_accessible :bookmark_stat_id, :manifestation_id, as: :admin
  belongs_to :bookmark_stat
  belongs_to :manifestation

  validates_uniqueness_of :manifestation_id, scope: :bookmark_stat_id
  validates_presence_of :bookmark_stat_id, :manifestation_id

  paginates_per 10
end

# == Schema Information
#
# Table name: bookmark_stat_has_manifestations
#
#  id               :integer          not null, primary key
#  bookmark_stat_id :integer          not null
#  manifestation_id :integer          not null
#  bookmarks_count  :integer
#  created_at       :datetime         not null
#  updated_at       :datetime         not null
#

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
enju_bookmark-0.1.2.pre20 app/models/bookmark_stat_has_manifestation.rb
enju_bookmark-0.1.2.pre19 app/models/bookmark_stat_has_manifestation.rb
enju_bookmark-0.1.2.pre18 app/models/bookmark_stat_has_manifestation.rb
enju_bookmark-0.1.2.pre17 app/models/bookmark_stat_has_manifestation.rb
enju_bookmark-0.1.2.pre16 app/models/bookmark_stat_has_manifestation.rb
enju_bookmark-0.1.2.pre15 app/models/bookmark_stat_has_manifestation.rb