[Rails-core] Putting logger at the end of the middleware chain

2014-04-14 Thread Josh Bourgeois
Hi, I was just wondering if there would be any reason I shouldn't do this, like problems with tags or something. Currently we're taking Cookies and CookieStore and inserting them before Logger in the stack, which feels just a tad more dangeresque than moving the logger to the bottom of the

[Rails-core] A minor beef with JSON::decode

2012-07-25 Thread Josh Bourgeois
Hiya, So, what was the impetus behind having ParamsParser create Date and DateTime objects out of application/json requests? The project I'm on expects parameters to be received as standard types (bools, numbers, strings, arrays, and hashes). Rails shouldn't try to convert objects that are