I have a legacy db
on which I am building a rails 4
app.
In my db schema there are quite some fields that have single digit non boolean numbers (like 1-9) where a data-type of Number(1)
was used. However, the oracle adapter automatically assumes that data-type number(1)
is always boolean.
As can be seen in this question (rails3 aside 4 seems to be the same) Rails 3 datatypes?
I have tried to find an option for that on the o.e.a. github page however I could not find one.
A pointer in the right direction would be great.