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.

Jonathan del Strother's latest activity

Wednesday, February 09 2011
6401 BasicObject causing problems with duration.to_json was created in Ruby on Rails
Tuesday, March 17 2009
1852 Patch to add index length support was updated in Ruby on Rails
  • Jonathan del Strother
    Jonathan del Strother commented at 8:09 PM

    Looks promising. However - am I right in thinking that mysql is the only database that handles index lengths?

    Correct me if I'm wrong, but pretty much everythin...

Thursday, March 12 2009
2223 [PATCH] TimeWithZones aren't serialized properly in Hash#to_xml was created in Ruby on Rails
  • Jonathan del Strother
    Jonathan del Strother created the ticket at 6:08 PM

    Attempting to convert a hash containing TimeWithZone objects to xml :

    
    {:time => Time.now.in_time_zone}.to_xml
    

    will give datetimes that don't match iso8601

    ...

Monday, December 29 2008
1662 JSON decoder date-converter is overeager was updated in Ruby on Rails
  • Jonathan del Strother
    • Tag set to patch
    • Title changed from [PATCH] JSON decoder date-converter is overeager to JSON decoder date-converter is overeager
    by Jonathan del Strother at 11:37 AM
  • Jonathan del Strother
    Jonathan del Strother created the ticket at 2:32 AM

    The json decoder tries to recognise dates & reformats them so that Date/Time objects will get created. I'm pretty sure the regular expression for spotting the d...