Sha256: 3c34fd2999d180b5d91101aaf66f975be4d1e78bd426151708a4480c77bef61a

Contents?: true

Size: 161 Bytes

Versions: 3

Compression:

Stored size: 161 Bytes

Contents

class Category
  include Mongoid::Document
  include Mongoid::Voteable

  field :name  

  has_and_belongs_to_many :posts
  
  voteable self, :index => true
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
voteable_mongoid-0.7.6 spec/models/category.rb
voteable_mongoid-0.7.5 spec/models/category.rb
voteable_mongoid-0.7.4 spec/models/category.rb