Sha256: 91eabbe92e92a9f2eab4e88491a66deff92b629d78ff27a3f29624236487b9d5

Contents?: true

Size: 165 Bytes

Versions: 29

Compression:

Stored size: 165 Bytes

Contents

# frozen_string_literal: true

class Alert
  include Mongoid::Document
  field :message, type: String
  belongs_to :account
  has_many :items
  belongs_to :post
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
mongoid-8.0.10 spec/support/models/alert.rb
mongoid-8.1.10 spec/support/models/alert.rb
mongoid-8.1.9 spec/support/models/alert.rb
mongoid-8.0.9 spec/support/models/alert.rb
mongoid-8.1.8 spec/support/models/alert.rb
mongoid-8.1.7 spec/support/models/alert.rb
mongoid-8.1.6 spec/support/models/alert.rb
mongoid-8.0.8 spec/support/models/alert.rb
mongoid-8.1.5 spec/support/models/alert.rb
mongoid-8.1.4 spec/support/models/alert.rb
mongoid-8.0.7 spec/support/models/alert.rb
mongoid-8.1.3 spec/support/models/alert.rb
mongoid-8.1.2 spec/support/models/alert.rb
mongoid-8.0.6 spec/support/models/alert.rb
mongoid-7.5.4 spec/support/models/alert.rb
mongoid-8.1.1 spec/support/models/alert.rb
mongoid-8.0.5 spec/support/models/alert.rb
mongoid-8.1.0 spec/support/models/alert.rb
mongoid-7.5.3 spec/support/models/alert.rb
mongoid-8.0.4 spec/support/models/alert.rb