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.

There was a problem

You must be a member of this account.

Adam Hooper's latest activity

Wednesday, May 06 2009
2611 Rack::Utils.parse_nested_query throws exceptions, leads to 500 errors on ever... was updated in Ruby on Rails
  • Adam Hooper
    Adam Hooper commented at 5:03 PM

    Monkey-patch which can be included in config/initializers on any Rails 2.3.2 app

  • Adam Hooper
    Adam Hooper commented at 5:01 PM

    Patch which handles TypeError as well. This makes the 500 errors go away.

  • Adam Hooper
    Adam Hooper commented at 4:35 PM

    Attached: patch to not-crash when Rack::Request.GET or Rack::Request.POST return nil.

    This does not fix the issue, but at least it lets Rails print out a nice s...

Tuesday, May 05 2009
2611 Rack::Utils.parse_nested_query throws exceptions, leads to 500 errors on ever... was created in Ruby on Rails
  • Adam Hooper
    Adam Hooper created the ticket at 11:59 PM

    On Rails 2.3.2:

    Rack::Utils.parse_nested_query('x=0&x[y]=1') IndexError: string not matched

    This leads to 500 errors on any Rails app. For instance: http://...

Monday, May 04 2009
2605 ActiveSupport::JSON parses dates was created in Ruby on Rails
  • Adam Hooper
    Adam Hooper created the ticket at 7:42 PM

    h = { 'd' => '2009-05-04' } => {"d"=>"2009-05-04"} >> ActiveSupport::JSON.decode(h.to_json) => {"d"=>Mon, 04 May 2009}

    The expected result, of course, is th...