Help in creating quiz


#1

Hi. This is a quiz app. There is a questions table and an answers table.
There are 5 questions which are created using normal form helpers. While
answering all the questions must be answered in the same page.

Question 1 : <-- Textbox for Answer 1 -->
Question 2 : <-- Textbox for Answer 2 -->
Question 3 : <-- Textbox for Answer 3 -->
<–Submit Button -->

I don’t know how to process this. Please hepl. Thanks in advance


#2

Rock R. wrote:

Hi. This is a quiz app. There is a questions table and an answers table.
There are 5 questions which are created using normal form helpers. While
answering all the questions must be answered in the same page.

Question 1 : <-- Textbox for Answer 1 -->
Question 2 : <-- Textbox for Answer 2 -->
Question 3 : <-- Textbox for Answer 3 -->
<–Submit Button -->

I don’t know how to process this. Please hepl. Thanks in advance

Hi there,

From what I’m understanding, you are trying to process multiple models
in your view using a single submit button ???
There is an excellent screencast by Ryan B… He explains it better
than me that’s why I’m reffering you to his screencast…

http://railscasts.com/episodes/73

Enjoy…


#3

Thank you. I will check it out