search for: inverse_relationship_type

Displaying 1 result from an estimated 1 matches for "inverse_relationship_type".

2006 Mar 13
2
HowToHandleMultipleRelationshipsBetweenTables?
I have two tables where one of the tables contains two columns that reference the id of the other. This problem is partially described in the "HowTo..." with the topic title above. My model looks like this: class Relationship < ActiveRecord::Base belongs_to :relationshiptype, :foreign_key => "relnshiptype" belongs_to :relationshiptype, :foreign_key =>