JangoSteve/remotipart

Rails 5 + remotipart not working

Closed this issue ยท 10 comments

If I use the gem of remotepart 1.2 and I start the application on windows, I have this error:
"C:/Ruby22/lib/ruby/gems/2.2.0/bundler/gems/rails-2b90048395ad/actionpack/lib/action_dispatch/middleware/stack.rb:108:in `assert_index': No such middleware to insert after: ActionDispatch::ParamsParser (RuntimeError) ".
Any solution?

I have tried with github master branch but I have same problem.
Thanks

Same problem here with Mac & rbenv.

you could temporarily use
gem 'remotipart', github: 'mshibuya/remotipart', ref: '3a6acb3'

There is a pull request for this... please merge #151

Agreed @JangoSteve, would love to have this merged esp. now that Rails 5 is released.

@AndreasWurm I think the ref should be 88d9a7 (mshibuya@88d9a7d).

gem 'remotipart', github: 'mshibuya/remotipart', ref: '88d9a7'

88d9a7d is in the master now.

Hey @mshibuya Master still breaks my code! I'm using your fix gem 'remotipart', github: 'mshibuya/remotipart', ref: '88d9a7' and it's working now. If I just use gem 'remotipart', '~>1.2' as per the readme, when i try to access any part of my app i get this error ActionView::Template::Error: ActionView::Helpers::ControllerHelper#params delegated to controller.params, but controller is nil: followed by like a thousand lines of error msg, and a generic error msg in the console.

README is old, the latest version is 1.4.2 now.
Just use gem 'remotipart' in your Gemfile.

1.4.2 actually isn't working either (gem 'remotipart'). Only 88d9a7 from your repo has worked so far.

Your issue appears to be #194, not this.