Sha256: f8b35f879be914ccfebaa02a7d80671ff97d739265954ee8e9b565437f516120

Contents?: true

Size: 207 Bytes

Versions: 2

Compression:

Stored size: 207 Bytes

Contents

class CustomerHasCustomers < ActiveRecord::Base
  attr_accessible :from, :to
  
  belongs_to :from, foreign_key: "from", class_name: Customer
  belongs_to :to, foreign_key: "to", class_name: Customer
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
guara-0.0.3 app/models/customer_has_customers.rb
guara-0.0.1.rc app/models/customer_has_customers.rb