Sha256: 43177f48af4c4ae82cb5f1aeb86ea1683dc7d1c102eac25cba22246759f77eb3

Contents?: true

Size: 292 Bytes

Versions: 3

Compression:

Stored size: 292 Bytes

Contents

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

  has_one :base_txn_context, :as => :txn_context_record

  def after_create
    base_txn_context = BaseTxnContext.new
    base_txn_context.txn_context_record  = self
    base_txn_context.save
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
erp_rules-4.2.0 app/models/customer_txn_context.rb
erp_rules-4.0.0 app/models/customer_txn_context.rb
erp_rules-3.1.0 app/models/customer_txn_context.rb