-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
Hi, I have many problems with this middleware
- After long time spent in debugger, I couldn't find the reason why but in my case, the middleware is receiving
rack.input, transforming it well, but in the controllers, I still have the camelcase keys.
I'm using Rails 4.2 and Rack 1.6.4. I had to locally patch the gem to run my tests because env["action_dispatch.request.request_parameters"] doesn't exist.
- doesn't process params from url, whatever is the verb. That's pretty annoying. We end up with a
paramsobject thats containing some keys as underscore, some keys as camelcase
I solved the issue on my side by disabling the part that parses parameters and did it at controller level in a before_action
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels