I have the following code:
<%= f.label nil, "*Status" %><br \>
<%= f.select :full_time, [["Full Time", true], ["Daily Call", false]], :prompt => "-Select a Status-" %>
:full_time
is a boolean (tinyint(1) in mysql).
The issue I'm having is that when I select "Full Time" or true, it will update the mysql db, but when I select "Daily Call" or false, it will not update the database at all.
Why is this happening and how should I fix this?? I'll provide more code on request.
Additional info:
As far as the controller, there is no code that involves :full_time
.
It looks like this in the schema.rb: t.boolean "full_time"
Also, every other field is working fine in the form.