Hi i have this code :
<%= f.input :xyz, :label => "Select a number:",:collection => 
["twenty.","forty"],
  :as => :radio%>

where xyz is a boolean field, so when i submit my form and check in the 
database it shows the selection as false even though i've selected a radio 
button and there's also a validates presence of

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/A10dXRRascwJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to