I have a database with 2 tables; Users and Revisions. Revisions has multiple one-to-many relationships to the users table, for example created_by, verified_by, published_by (each field being a foreign key user id).
How would I go about defining this relationship in my Rails models?
Using these models:
You should probably change the association names to whatever makes most sense in your app.