rails recognized a tinyint(1) in mysql as a boolean value, so a
model.boolean = true writes a one, however a model.boolean = false
writes nothing, how can I write a zero? if I do model.boolean = 0 it
does not write anything in the database
I got it, the problem was that the validates presence of filter treats 0
as
nil.