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-4.14.5 spec/models/mongoid/category.rb
bullet_instructure-4.0.5 spec/models/mongoid/category.rb
bullet-4.14.4 spec/models/mongoid/category.rb
bullet-4.14.3 spec/models/mongoid/category.rb
bullet-4.14.2 spec/models/mongoid/category.rb
bullet-4.14.0 spec/models/mongoid/category.rb
bullet-4.13.2 spec/models/mongoid/category.rb
bullet-4.13.1 spec/models/mongoid/category.rb
bullet_instructure-4.0.3 spec/models/mongoid/category.rb
bullet-4.13.0 spec/models/mongoid/category.rb
bullet-4.12.0 spec/models/mongoid/category.rb
bullet_instructure-4.0.2 spec/models/mongoid/category.rb
bullet-4.11.3 spec/models/mongoid/category.rb
bullet-4.11.2 spec/models/mongoid/category.rb
bullet-4.11.1 spec/models/mongoid/category.rb
bullet-4.11.0 spec/models/mongoid/category.rb
bullet-4.10.0 spec/models/mongoid/category.rb
bullet-4.9.0 spec/models/mongoid/category.rb
bullet-4.8.0 spec/models/mongoid/category.rb
bullet-4.7.1 spec/models/mongoid/category.rb