Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Contact < ActiveRecord::Base
- has_one :acquisition
- has_one :acquisitor, :through => :acquisition, :source => :user
- end
- class User < ARB
- has_many :acquisitions
- has_many :contacts :through => :acquisitions
- end
Add Comment
Please, Sign In to add comment