YAML: active_support dump of BigDecimal differs from MRI
--------------------------------------------------------

                 Key: JRUBY-3240
                 URL: http://jira.codehaus.org/browse/JRUBY-3240
             Project: JRuby
          Issue Type: Bug
          Components: Extensions
            Reporter: Thomas E Enebo
             Fix For: JRuby 1.1.6


{noformat}
require 'active_support'

YAML.dump(BigDecimal('17.3'))
{noformat}

Gives us:

{noformat}
"--- !float \"17.3\"\n"
{noformat}

 when it should be:
{noformat}
 "--- 17.3\n"
{noformat}

This bug originally came as a spin off from JRUBY-3172.

-- 
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