search for: option_two

Displaying 1 result from an estimated 1 matches for "option_two".

Did you mean: option_t
2006 Jul 01
4
Radio_button in loop problem
...code I''m using: <% for question in @survey.questions %> <%= debug question %> <%= radio_button ( "question", :question_id, question.option_one.id) %> <%= question.option_one %> <%= radio_button ( "question", :question_id, question.option_two.id) %> <%= question.option_two %> <% end %> The "debug question" statement prints out the correct values. I have to think that I''m using the wrong parameters in the radio_button call, but nothing I try is working. I guess I could use the radio_button_tag bu...