Check boxes from a collection add a "" value #731

davidray opened this Issue Oct 30, 2011 · 1 comment


None yet

2 participants


Here's my input code:

= f.input :report_columns, :label => "Columns", :as => :check_boxes, :collection => ["One", "Two", "Three"]

If I check just "Three" and submit, the value I get for report columns is:

"report_columns"=>["", "Three"]

Thanks. I heart formtastic.



Thanks for the kind words.

I believe this is a duplicate of #697, for which there are two related pull requests #702 and #705, all of which are under debate, so I'm going to close this down, feel free to chime in on #697 or the pulls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment