Sha256: 49871086ccfd9470537b2b705140900696ed1448f3b3d985f853d03631bc706c

Contents?: true

Size: 149 Bytes

Versions: 24

Compression:

Stored size: 149 Bytes

Contents

class LineItem
  include Mongoid::Document
  embedded_in :purchase
  belongs_to :product, polymorphic: true
  validates :product, presence: true
end

Version data entries

24 entries across 24 versions & 6 rubygems

Version Path
mongoid-paranoia-1.1.0 spec/app/models/line_item.rb
mongoid-paranoia-1.0.1 spec/app/models/line_item.rb
mongoid-3.1.7 spec/app/models/line_item.rb
mongoid-paranoia-1.0.0 spec/app/models/line_item.rb
mongoid-versioning-1.0.0 spec/app/models/line_item.rb
mongoid-paranoia-1.0.0.beta2 spec/app/models/line_item.rb
mongoid-versioning-1.0.0.beta2 spec/app/models/line_item.rb
mongoid-paranoia-1.0.0.beta1 spec/app/models/line_item.rb
mongoid-versioning-1.0.0.beta1 spec/app/models/line_item.rb
mongoid-4.0.0.alpha2 spec/app/models/line_item.rb
mongoid-4.0.0.alpha1 spec/app/models/line_item.rb
mongoid-3.1.6 spec/app/models/line_item.rb
sepastian-mongoid-rails4-4.0.1.alpha spec/app/models/line_item.rb
sepastian-mongoid-rails4-4.0.0.alpha spec/app/models/line_item.rb
mongoid-3.1.5 spec/app/models/line_item.rb
mongoid_heroku_stable-4.0.0 spec/app/models/line_item.rb
mongoid_rails4-4.0.0 spec/app/models/line_item.rb
mongoid-paranoia-0.3.0 spec/app/models/line_item.rb
mongoid-paranoia-0.2.1 spec/app/models/line_item.rb
mongoid-versioning-0.2.0 spec/app/models/line_item.rb