On 23 February 2010 19:52, Michael Pavling <[email protected]> wrote: > has_many :project1_keyed_workers, :class_name => "Worker", > :foreign_key => "project1_foreign_key_name_in_workers_table" > has_many :project2_keyed_workers, :class_name => "Worker", > :foreign_key => "project2_foreign_key_name_in_workers_table" > has_many :project3_keyed_workers, :class_name => "Worker", > :foreign_key => "project3_foreign_key_name_in_workers_table"
whoa! that doesn't look very legible once posted. If you can't make sense of my code snippet, let me know and I'll post a Gist link. -- 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.

