Dylan Markow
2006-Jan-04 23:20 UTC
Multiple fields on table X linked to one field on table Y
I have two tables, Users and Projects. Each project has a Project Manager, and each project also has an Expert. Both fields are links to an ID from the Users table. However, neither of them is entitled "user_id." Is there a way to tell the Projects model to reference the Users table for both of these fields, the fields being "project_manager" and "expert" ? Thanks! _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails