I'm working on a new rails project and have to build it on top of a
legacy oracle database. I'm trying to figure out how to get the
number value from a NUMBER(1) datatype. So far I'm only getting a
"true" value for 1 and "false" for any other number. From the console
I can print out my object values and can see that there are number
values in the object, but whenever I try to access the value from a
method, it converts to boolean. Is there a way to force the method to
return the actual number value?