Sha256: 849e5da77b3e04f6349b5a58766713e4aeacd217c167facb4123383805f117f0

Contents?: true

Size: 624 Bytes

Versions: 7

Compression:

Stored size: 624 Bytes

Contents

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

7 entries across 7 versions & 1 rubygems

Version Path
enju_bookmark-0.2.0.beta.2 app/models/bookmark_stat_has_manifestation.rb
enju_bookmark-0.2.0.beta.1 app/models/bookmark_stat_has_manifestation.rb
enju_bookmark-0.1.3 app/models/bookmark_stat_has_manifestation.rb
enju_bookmark-0.1.2 app/models/bookmark_stat_has_manifestation.rb
enju_bookmark-0.1.2.pre23 app/models/bookmark_stat_has_manifestation.rb
enju_bookmark-0.1.2.pre22 app/models/bookmark_stat_has_manifestation.rb
enju_bookmark-0.1.2.pre21 app/models/bookmark_stat_has_manifestation.rb