Sha256: 11c0f5f1f1ca5ac623230ea0558f692b53691bc18f8e07e00f63c38e4c2ccd4e
Contents?: true
Size: 249 Bytes
Versions: 2
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
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
mongoid-paranoia-2.0.0 | spec/app/models/tag.rb |
mongoid-versioning-2.0.0 | spec/app/models/tag.rb |