Skip to content

Conversation

@byzg
Copy link

@byzg byzg commented Sep 15, 2015

As correctly llopez noted in Could not get this working on Rails 4.2.1, current version of lib load.rb is not working with Rails 4.2+.
At first, changing of env['rack.request.form_hash'] AFTER @app.call(env) doesnt chages params.
At second, BEFORE @app.call(env) env['rack.request.form_hash'] is empty hash.
I offer to use rack.input instead of rack.request.form_hash. This solution works with Rails 4.2+ normaly.
PS: sorry for my English

@FlowerWrong
Copy link

thanks, worked for me on rails 5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants