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