Created
March 16, 2012 10:46
-
-
Save eirc/2049542 to your computer and use it in GitHub Desktop.
Thank you, it works great!
I have a similar error but with handling a binary POST instead of cookies. How would I handle that for this line?
Rails.configuration.middleware.insert_before ActionDispatch::Cookies, CleanCookies::Rack
I created a CatchPost method, but my doubt is the ActionDispatch::
bit, how do I tell it to insert before handling a POST?
Sorry if this sounds dumb but I know nothing about Rack.
Thanks.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks a lot for this! This should be the rack default behaviour, not giving a 500 error... You're the best!