Ruby on Rails questionnaire tutorial?

Posted by kovrik on Stack Overflow See other posts from Stack Overflow or by kovrik
Published on 2010-03-19T18:55:39Z Indexed on 2010/03/19 22:41 UTC
Read the original article Hit count: 312

Can't find any tutorial for creating a simple questionnaire system on RoR (without using Finite State Machines).

I think the Model is simple:

  • Quizzes (have many Questions)
  • Questions (belong to Quizzes, have many Choices, have one Answer)
  • Choices (belong to Questions)
  • Responses (belong to Users, belong to Questions)
  • Users (have many Responses).

User logs in (session is created), chooses some Quiz (Questions which belong to this Quiz are shown). User navigates through the Questions, makes his choice (Response), finishes the Quiz. Responses are compared with Answers. System shows some results.

But as I'm new to Rails it is difficult for me to make it work properly. Any help? Maybe there is a tutorial where some similar app is created?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about questionnaire