search for: 245435

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

Did you mean: 24535
2006 Aug 08
1
Legacy system belongs_to problem
..." table links back to the "Products" table using a modified foreign key. For example, the ProductID in the LineItem table as a "LI-" prefixed to the productID. So they link together as follows: LineItem (ProductID) Product (ID) IN-123456 -> 123456 IN-245435 -> 245435 etc.. The standard belongs_to declaration will not work for this. Can anyone tell me how to get around this with belongs_to or do I have to do the linking manually? Thanks Peer -- Posted via http://www.ruby-forum.com/.