Sha256: e7339a1fec04a0f80cdc3ec354d214203fc302f71bc7156a5e576fcb2284ee2d

Contents?: true

Size: 363 Bytes

Versions: 56

Compression:

Stored size: 363 Bytes

Contents

class Article
  include Mongoid::Document

  field :author_id, type: Integer
  field :public, type: Mongoid::Boolean
  field :title, type: String
  field :is_rss, type: Mongoid::Boolean, default: false
  field :user_login, type: String

  has_and_belongs_to_many :tags, validate: false
  has_and_belongs_to_many :preferences, inverse_of: nil, validate: false
end

Version data entries

56 entries across 52 versions & 3 rubygems

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