Adam Akhtar wrote:
> Hi again, thanks so much for your help i really appreciate it. I wanted 
> to write another association like you said before but there is no 
> Alphabet_Partner class to write it in. Its just a self reference to 
> Alphabet table.
[...]

You don't need an AlphabetPartner class.  You just need a second 
association between Alphabet and Pairing on the alphabet_partner_id 
column.  See the docs or the associations guide for how to do this.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to