BigDecimal to_s breaks Rails schema_dumper for decimal columns 
---------------------------------------------------------------

                 Key: JRUBY-909
                 URL: http://jira.codehaus.org/browse/JRUBY-909
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 0.9.9
            Reporter: Stuart Halloway


BigDecimal's to_s does not return the same value in jruby as in native Ruby: 
BigDecimal.new("0.0").to_s returns "0.0E0" instead of "0.0". This triggers a 
chain of events that causes Rails's schema_dumper to fail for any schema that 
includes a decimal column, which in turn causes rake to fail for tests.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to