search for: option_on

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

Did you mean: optionion
2006 Jul 01
4
Radio_button in loop problem
...y database. I read through some of the previous posts -- is it true that they don''t work with integers? This is the 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...