Sha256: 9f0f4578d4c8240e3f010827b0b1dd10fec0adacd8b488e6bc661bb35a48d2aa

Contents?: true

Size: 260 Bytes

Versions: 11

Compression:

Stored size: 260 Bytes

Contents

module Effective
  class QbOrderItem < ActiveRecord::Base
    belongs_to :order_item

    # structure do
    #  name                   :string
    #  timestamps
    # end

    validates :order_item, presence: true
    validates :name, presence: true
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
effective_qb_sync-1.1.5 app/models/effective/qb_order_item.rb
effective_qb_sync-1.1.4 app/models/effective/qb_order_item.rb
effective_qb_sync-1.1.3 app/models/effective/qb_order_item.rb
effective_qb_sync-1.1.2 app/models/effective/qb_order_item.rb
effective_qb_sync-1.1.1 app/models/effective/qb_order_item.rb
effective_qb_sync-1.1.0 app/models/effective/qb_order_item.rb
effective_qb_sync-1.0.4 app/models/effective/qb_order_item.rb
effective_qb_sync-1.0.3 app/models/effective/qb_order_item.rb
effective_qb_sync-1.0.2 app/models/effective/qb_order_item.rb
effective_qb_sync-1.0.1 app/models/effective/qb_order_item.rb
effective_qb_sync-1.0.0 app/models/effective/qb_order_item.rb