Sha256: 3e84bb9d67d12740859d0618285edc02ec8d972ff350b62371c4727d9f8ae832

Contents?: true

Size: 249 Bytes

Versions: 95

Compression:

Stored size: 249 Bytes

Contents

class Tag
  include Mongoid::Document
  field :text, type: String
  has_and_belongs_to_many :actors
  has_and_belongs_to_many :articles
  has_and_belongs_to_many :posts
  has_and_belongs_to_many :related, class_name: "Tag", inverse_of: :related
end

Version data entries

95 entries across 90 versions & 8 rubygems

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