Sha256: a8ca9b6cde257f1a6bd2c437ad642141477d22a950e682432ad40dcfed2d39b3

Contents?: true

Size: 159 Bytes

Versions: 11

Compression:

Stored size: 159 Bytes

Contents

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

  field :name  

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

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
rs_voteable_mongo-1.3.0 spec/mongoid/models/category.rb
rs_voteable_mongo-1.2.0 spec/mongoid/models/category.rb
rs_voteable_mongo-1.1.0 spec/mongoid/models/category.rb
rs_voteable_mongo-1.0.2 spec/mongoid/models/category.rb
rs_voteable_mongo-1.0.1 spec/mongoid/models/category.rb
rs_voteable_mongo-1.0.0 spec/mongoid/models/category.rb
voteable_mongo-0.9.3 spec/mongoid/models/category.rb
voteable_mongo-0.9.2 spec/mongoid/models/category.rb
voteable_mongo-0.9.1 spec/mongoid/models/category.rb
voteable_mongo-0.9.0 spec/mongoid/models/category.rb
voteable_mongo-0.8.1 spec/models/category.rb