Adam Hooper
Front-end Engineer · Not a member
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 commented at 5:03 PMMonkey-patch which can be included in config/initializers on any Rails 2.3.2 app
-
Adam Hooper commented at 5:01 PMPatch which handles TypeError as well. This makes the 500 errors go away.
-
Adam Hooper commented at 4:35 PMAttached: 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 created the ticket at 11:59 PMOn 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 created the ticket at 7:42 PMh = { '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...