I have the following drop down box in a form for rails:
<%= f.select (:boolean, options_for_select([["Yes", 1], ["No", 0]])) %>
Other drop down boxes in the same form post correctly, but this one posts null. Others in the same form:
<%= f.select (:kids_in_college, %w{1 2 3 4 5 6 7 8}) %> #posts correctly
<%= f.select (:year, %w{2009-2010 2010-2011 2011-2012}) %> # posts correctly
Is there something wrong with my syntax?