Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

ThePhred's latest activity

Sunday, August 09 2009
2698 Add :margin option to XmlSerializer was updated in Ruby on Rails
  • ThePhred
    ThePhred commented at 7:14 PM

    I was able to modify the patch to get it to cleanly apply. Tests still pass.
    I've attached a patch.

Friday, June 05 2009
2769 ActiveSupport::CoreExtensions::Array::Conversions#to_xml modifies the passed ... was updated in Ruby on Rails
  • ThePhred
    ThePhred commented at 9:09 PM

    Also note that in the SomeController example above, if you freeze the hash before you set it to the constant TO_XML_OPTIONS_HASH, you will get a TypeEror: can't...

  • ThePhred
    ThePhred commented at 9:05 PM

    This same issue happened before but was fixed and now has cropped up again. The old ticket is here: http://dev.rubyonrails.org/ticket/8017

  • ThePhred
    ThePhred created the ticket at 9:03 PM
    test = {}
    [].to_xml( test )
    

    Now test is equal to the following instead of {}:

    {:indent=>2, :builder=><?xml version="1.0" encoding="UTF-8"?>
    <nil-classes type...