f.checkbox wasn't pre-loading value.

Now, when you use `f.checkbox`, it has the value of the attribute (checked if true and un-checked if false)