Hi, I am new to rails and so have a very basic question. I have defined a set of radio buttons in _form.html like this:
<%= radio_button_tag(:colour, "Blue") %> <%= label_tag(:colour_B, "Blue") %> Now I want to read the value of the radio button. Eg: if the user chose "Blue", then I want to display the user's name in a table under the column Blue. I already defined the table in index.html and I have a model called usertable that I previously defined on the command line using: rails generate scaffold usertable name:string colour:text I don't know how to actually read in the value of radio button. Do I need to define it somehow in the def show block in the controller? ... Thanks so much. Any help is appreciated! cathy -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

