Sha256: b84f86dd95e953c4c9992992850a818770f2a7a3b04128db9623bd14a62d4e46

Contents?: true

Size: 135 Bytes

Versions: 76

Compression:

Stored size: 135 Bytes

Contents

class Role
  include Mongoid::Document
  field :name, type: String
  belongs_to :user
  belongs_to :post
  recursively_embeds_many
end

Version data entries

76 entries across 71 versions & 6 rubygems

Version Path
mongoid-7.0.13 spec/app/models/role.rb
mongoid-7.0.12 spec/app/models/role.rb
mongoid-6.4.8 spec/app/models/role.rb
mongoid-7.0.11 spec/app/models/role.rb
mongoid-7.0.10 spec/app/models/role.rb
mongoid-6.4.7 spec/app/models/role.rb
mongoid-6.4.5 spec/app/models/role.rb
mongoid-7.0.8 spec/app/models/role.rb
mongoid-7.0.7 spec/app/models/role.rb
mongoid-7.0.6 spec/app/models/role.rb
mongoid-5.4.1 spec/app/models/role.rb
mongoid-7.0.5 spec/app/models/role.rb
mongoid-7.0.4 spec/app/models/role.rb
mongoid-6.4.4 spec/app/models/role.rb
mongoid-7.0.3 spec/app/models/role.rb
mongoid-6.4.2 spec/app/models/role.rb
mongoid-7.0.2 spec/app/models/role.rb
mongoid-7.0.1 spec/app/models/role.rb
mongoid-6.4.1 spec/app/models/role.rb
mongoid-5.4.0 spec/app/models/role.rb