Neither the check boxes nor the radio buttons save. I tried it these ways and the responses did not save so I deleted them for now.
<%= f.input :coached_april_13, label: "I coached RailsGirlsLA on April 2013 at Pivotal", as: :radio_buttons %> <%= f.input :coached_april_13, label: "I coached RailsGirlsLA on April 2013 at Pivotal", required: true, as: :radio_buttons %> <%= f.input :coached_april_13, label: "I coached RailsGirlsLA on April 2013 at Pivotal" %>
The solution
I needed to add the new params to the whitelist in the coach_controller
Pull Request #78
I should have made the questions about coaching booleans not strings.
Adding new fields.
$
rails g migration AddCoachedToCoaches coach_april_13:boolean
Neither the check boxes nor the radio buttons save. I tried it these ways and the responses did not save so I deleted them for now.
<%= f.input :coached_april_13, label: "I coached RailsGirlsLA on April 2013 at Pivotal", as: :radio_buttons %>
<%= f.input :coached_april_13, label: "I coached RailsGirlsLA on April 2013 at Pivotal", required: true, as: :radio_buttons %>
<%= f.input :coached_april_13, label: "I coached RailsGirlsLA on April 2013 at Pivotal" %>
The solution
I needed to add the new params to the whitelist in the coach_controller
http://stackoverflow.com/questions/32362039/checkbox-items-not-saving-simple-form