I’m working on a Ticket model. The Ticket model needs to keep track of
the following:
Requestor (the one that opens the ticket)
Assignee (the one that gets assigned to work on it)
Solver (the one that actually solved the ticket)
So the Ticket model should have this:
requestor_id
assignee_id
solver_id
Now, I have a User model. The Requestor, the Assignee and the Solver are
all Users. So you can see how I CAN’T JUST ADD AN user_id attribute to
the Ticket model.
I have been searching for a model alias or something like that but can’t
seem to find it.
Can somebody please point me in the right direction?