# Help in creating quiz

**URL:** <https://www.ruby-forum.com/t/help-in-creating-quiz/157907>\
**Category:** Rails\
**Created:** [January 16, 2009, 1:39pm UTC](https://www.ruby-forum.com/t/help-in-creating-quiz/157907 "2009-01-16T13:39:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rocknrollcar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f14d63/32.png) [@rocknrollcar](https://www.ruby-forum.com/u/rocknrollcar)\
**Post date:** [January 16, 2009, 1:39pm UTC](https://www.ruby-forum.com/t/help-in-creating-quiz/157907/1 "2009-01-16T13:39:34Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![rocknrollcar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f14d63/32.png) [@rocknrollcar](https://www.ruby-forum.com/u/rocknrollcar)\
**Post date:** [January 16, 2009, 7:13pm UTC](https://www.ruby-forum.com/t/help-in-creating-quiz/157907/2 "2009-01-16T19:13:07Z")

</div>

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…

> **[\#73 Complex Forms Part 1 - RailsCasts](http://railscasts.com/episodes/73-complex-forms-part-1)**
>
> Short Ruby on Rails screencasts containing tips, tricks and tutorials. Great for both novice and experienced web developers.

Enjoy…

---

<div class="post-metadata">

**Author:** ![rocknrollcar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f14d63/32.png) [@rocknrollcar](https://www.ruby-forum.com/u/rocknrollcar)\
**Post date:** [January 16, 2009, 7:27pm UTC](https://www.ruby-forum.com/t/help-in-creating-quiz/157907/3 "2009-01-16T19:27:55Z")

</div>

Thank you. I will check it out
