Forums | Admin

Discussion Forums: open-discussion

Start New Thread 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

Thread Author Date
OraNumberAlex Moore2008-07-07 07:23
      RE: OraNumberKubo Takehiro2008-07-07 14:15
            RE: OraNumberAlex Moore2008-07-08 03:08

Post a followup to this message