Sha256: 67720910a1e1eefb4fb61423ace0639d67c5b52f547208bdb1d9555a59590bea

Contents?: true

Size: 678 Bytes

Versions: 7

Compression:

Stored size: 678 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
#  updated_at       :datetime
#

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
enju_bookmark-0.1.2.pre4 app/models/bookmark_stat_has_manifestation.rb
enju_bookmark-0.1.2.pre3 app/models/bookmark_stat_has_manifestation.rb
enju_bookmark-0.1.2.pre2 app/models/bookmark_stat_has_manifestation.rb
enju_bookmark-0.1.2.pre app/models/bookmark_stat_has_manifestation.rb
enju_bookmark-0.1.1 app/models/bookmark_stat_has_manifestation.rb
enju_bookmark-0.1.0.pre app/models/bookmark_stat_has_manifestation.rb
enju_bookmark-0.1.0 app/models/bookmark_stat_has_manifestation.rb