I have a database table, users, which has a referrer_id column.  This
column maps back to the users table to denote the user who referred
this record.  How can I accomplish this type of reference with the
t.references call in my create_table without needing to create some
sort of crazy (and unnecessary) intermediate table?  I'd like the
column name to remain referrer_id so the intention of the column is
clear.

Thanks,
Matt

--~--~---------~--~----~------------~-------~--~----~
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