Sha256: b9d9cf35c4dc5098515b12e7ae6aaf7fa41afc40501f0a5aede63e47a854f622

Contents?: true

Size: 149 Bytes

Versions: 2

Compression:

Stored size: 149 Bytes

Contents

class OrderLine < ActiveRecord::Base
  belongs_to :order_header
  has_many :shipments

  validates :item_name, :quantity, :price, presence: true
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ext_form-0.1.5 spec/dummy/app/models/order_line.rb
ext_form-0.1.4 spec/dummy/app/models/order_line.rb