 |
Forums |
Admin Start New Thread
| Message: 58249 |
 |
BY: Alex Moore (zyclops) DATE: 2008-07-07 07:23 SUBJECT: OraNumber 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?
| |
Thread View
Post a followup to this message
|
 |