From: Ike Date: 2006-11-01T04:00:16+09:00 Subject: Syntax q on ActiveRecord In my model, if I have a field, that contains the id to another table, twice (like, primary associate and a secondary associate) I am specifying this as class Customer < ActiveRecord::Base belongs_to: associate :foreign_key => "associatekey1" belongs_to: associate :foreign_key => "associatekey2" end This doesn't work -- but my question is how SHOULD the syntax for specifying this look? Thanks, Ike