search for: save_question

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

2006 Jun 04
4
Multiple checkboxes
...them all into a string "1" if the box was checked and "0" if it wasn''t. I''m new to Ruby and Rails and I can''t seem to get any values out of my params other than "0", Here''s my code: View: <%= form_tag :action=>''save_question''%> <h3><%= @question.title %></h3> </br> <% for option in @options %> <input type="checkbox" name="option[]" value="<%=option.id%>"><%= option.option_text %></br> <% end %> </br>...