I’m attempting to access a MySQL BIT(1) column with b’1’ as the data in
the case of a true boolean from within activerecord and am unable to get
any output. The table was created by Hibernate (which uses BIT as it’s
I’ve done a considerable amount of searching on this but have not been
able to find an answer. Am I missing something here or is this type of
field unsupported? The docs say it maps to a string type but I never
get any result when accessing the attributes and attempts at casting
haven’t gotten me anywhere.