I'm working on an application using sqlite locally and recently
noticed that checkboxes are evaluating to 1 and 0 (not true and false)
and thus aren't being sanitized to boolean values in the db ('t' and
'f' in sqlite). This isn't a problem in mysql because 1 and 0 are
synonymous to true and false, but there's issues for some.

Is this a bug? Is there some way around it that I've missed somewhere?

Kev
_______________________________________________
Rails-core mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to