Sha256: e7d52b8115838724b11e48423d80f02ca90295eb4efdeaf9ff269b3129356ae2

Contents?: true

Size: 715 Bytes

Versions: 10

Compression:

Stored size: 715 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

10 entries across 10 versions & 1 rubygems

Version Path
enju_bookmark-0.1.2.pre14 app/models/bookmark_stat_has_manifestation.rb
enju_bookmark-0.1.2.pre13 app/models/bookmark_stat_has_manifestation.rb
enju_bookmark-0.1.2.pre12 app/models/bookmark_stat_has_manifestation.rb
enju_bookmark-0.1.2.pre11 app/models/bookmark_stat_has_manifestation.rb
enju_bookmark-0.1.2.pre10 app/models/bookmark_stat_has_manifestation.rb
enju_bookmark-0.1.2.pre9 app/models/bookmark_stat_has_manifestation.rb
enju_bookmark-0.1.2.pre8 app/models/bookmark_stat_has_manifestation.rb
enju_bookmark-0.1.2.pre7 app/models/bookmark_stat_has_manifestation.rb
enju_bookmark-0.1.2.pre6 app/models/bookmark_stat_has_manifestation.rb
enju_bookmark-0.1.2.pre5 app/models/bookmark_stat_has_manifestation.rb