Hi, Here's the thing : I have a table with languages (name, label, id).
languages id name label I'd like another table people with primary_language and secondary_langage that should refer to a language_id. people id firstname familyname primary_language -> language_id secondary_language -> language_id Because I got 2 references, I don't know how I can do. I think I have to explicitly say in the Person and Language model that primary_language and secondary_language is a language_id. How can I do ? Thanks -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

