Eddie Stanley
2006-Jan-09 07:30 UTC
[Rails] Foreign key with 2 or more fields in a relationship
In rails with a 1-M or M-M relationship you can use :foreign_key = ?xxxxx? to override the default foreign key which will be used. Is it possible and if so, how do you specify a foreign key for a relationship which has two or more fields in it? -- Posted via http://www.ruby-forum.com/.