search for: actioned_by

Displaying 1 result from an estimated 1 matches for "actioned_by".

2006 Feb 04
1
Specifying multiple foreign keys to another table?
...all I would need to do is to name the column `user_id` and RoR would know it is a reference. However currently I am working on a table that records `actions` that both impact on another user, with each action performed by another user. Thus I''d have 2 columns like `impacted_user_id` and `actioned_by_user_id`, how do I tell raises that these 2 columns are really references to the `users` table instead of the `impacted_user` and `actioned_by_user` tables respectively? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/r...