I have a Job model and a User model. I need each User to be able to answer several questions based on a particular Job. Each question is marked from 1 to 10 (or unanswered).
I believe i need a hasMany through
associations, but have been confused by these before.
Can someone help me with my database/model layout. Thanks.
EDIT:
- The only tables I have at the moment are users and jobs
- The questions are the same for every job, there are six of them (maybe more in the future)
- The Questions will always be numbers from 1 to 10 (or unanswered)