I don't know if this is the right place for this question, if not please do tell.
The issue I have is that OraNumber.new(1).to_json #=> {}
Is this a known issue?
The way i got to this was because I have to do something like
MyModel.find_by_sql('Select some_float_number from etc')
and instead of returning FixedNum like i expected i got OraNumber instead. to_json works fine on fixednum but not on OraNumber.
Any suggestions?
|