Sha256: e7641548d06379774eba0c7337718c2aa90a57fa4694504b2b18a20c9eaa4802

Contents?: true

Size: 141 Bytes

Versions: 91

Compression:

Stored size: 141 Bytes

Contents

class Category
  include Mongoid::Document
  embedded_in :root_category
  embedded_in :category
  embeds_many :categories

  field :name
end

Version data entries

91 entries across 86 versions & 8 rubygems

Version Path
mongoid-paranoia-1.0.1 spec/app/models/category.rb
mongoid-5.0.0.beta spec/app/models/category.rb
mongoid-3.1.7 spec/app/models/category.rb
mongoid-4.0.2 spec/app/models/category.rb
mongoid-4.0.1 spec/app/models/category.rb
mongoid-paranoia-1.0.0 spec/app/models/category.rb
mongoid-versioning-1.0.0 spec/app/models/category.rb
mongoid-paranoia-1.0.0.beta2 spec/app/models/category.rb
mongoid-versioning-1.0.0.beta2 spec/app/models/category.rb
mongoid-4.0.0 spec/app/models/category.rb
mongoid-4.0.0.rc2 spec/app/models/category.rb
mongoid-4.0.0.rc1 spec/app/models/category.rb
mongoid-4.0.0.beta2 spec/app/models/category.rb
mongoid-paranoia-1.0.0.beta1 spec/app/models/category.rb
mongoid-versioning-1.0.0.beta1 spec/app/models/category.rb
mongoid-4.0.0.beta1 spec/app/models/category.rb
mongoid-4.0.0.alpha2 spec/app/models/category.rb
mongoid-4.0.0.alpha1 spec/app/models/category.rb
mongoid-3.1.6 spec/app/models/category.rb
sepastian-mongoid-rails4-4.0.1.alpha spec/app/models/category.rb