Sha256: b66f1e0596e8a013c8ae27a55f05a6412cbc1b000a4d87236fdcdac068e8199b

Contents?: true

Size: 175 Bytes

Versions: 41

Compression:

Stored size: 175 Bytes

Contents

class Mongoid::Category
  include Mongoid::Document

  field :name

  has_many :posts, :class_name => "Mongoid::Post"
  has_many :entries, :class_name => "Mongoid::Entry"
end

Version data entries

41 entries across 41 versions & 2 rubygems

Version Path
bullet-5.6.0 spec/models/mongoid/category.rb
bullet-5.5.1 spec/models/mongoid/category.rb
bullet-5.5.0 spec/models/mongoid/category.rb
bullet-5.4.3 spec/models/mongoid/category.rb
bullet-5.4.2 spec/models/mongoid/category.rb
bullet-5.4.1 spec/models/mongoid/category.rb
bullet-5.4.0 spec/models/mongoid/category.rb
bullet-5.3.0 spec/models/mongoid/category.rb
bullet-5.2.1 spec/models/mongoid/category.rb
bullet-5.2.0 spec/models/mongoid/category.rb
bullet-5.1.1 spec/models/mongoid/category.rb
bullet-5.1.0 spec/models/mongoid/category.rb
bullet-5.0.0 spec/models/mongoid/category.rb
bullet-4.14.10 spec/models/mongoid/category.rb
bullet-4.14.9 spec/models/mongoid/category.rb
bullet-4.14.8 spec/models/mongoid/category.rb
bullet_instructure-4.14.8 spec/models/mongoid/category.rb
bullet-4.14.7 spec/models/mongoid/category.rb
bullet_instructure-4.14.7 spec/models/mongoid/category.rb
bullet-4.14.6 spec/models/mongoid/category.rb