Topic: survey relationship setup

I have three classes, User, SurveyQuestion, and SurveyAnswer.

I need to be able to find the first survey question that the user has not answered yet, but I am stumped on how to set up the relationships between the models.

Re: survey relationship setup

http://railsforum.com/viewtopic.php?id=5069

Re: survey relationship setup

I've been answering a similar question on railsweenie.com in this post. It looks like it is almost identical to what you are doing.