Foreign key

Rajkumar Surabhi
2010-07-08T07:41:22Z

HI all,

In my application i have 2 tables, 1.logins and 2. credits.

logins contains customer details and credits has credit detils of
customers.

i have given custom foreign key while migrating database for credits
table instead of logins_id i have given as log_id.

how to mention this in model associtations
--
Posted via http://www.ruby-forum.com/.