Sha256: a4a78be4ccd7b805cfc9db34d375a7de6e38029eb23a3b43f229fcceb5385338

Contents?: true

Size: 384 Bytes

Versions: 1

Compression:

Stored size: 384 Bytes

Contents

#  create_table :sales_tax_line do |t|
#    t.references :sales_tax_policy
#    t.decimal :rate, precision: 8, scale: 2
#    t.text :comment
#    t.references :taxed_record, polymorphic: true
#
#    t.timestamps
#  end#

class SalesTaxLine < ActiveRecord::Base
  attr_protected :created_at, :updated_at

  belongs_to :taxed_record, polymorphic: true
  belongs_to :sales_tax_policy
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
erp_orders-4.2.0 app/models/sales_tax_line.rb