mhfs / devise-async

Send Devise's emails in background. Supports Resque, Sidekiq, Delayed::Job and QueueClassic.
MIT License
575 stars 110 forks source link

Not working #91

Closed alanpaivaa closed 7 years ago

alanpaivaa commented 8 years ago

Hello, there

I set up everything as the documentation says, but I'm still getting the following error:

ArgumentError in Devise::PasswordsController#create wrong number of arguments (given 3, expected 1..2)

Can anyone help me?

jonbcampos commented 8 years ago

I'm seeing this too right now. I am starting to things this gem isn't supported with rails 4.2+ based on the docs

jonbcampos commented 8 years ago

figure anything out? anyone watching this with insight?

yurijmi commented 8 years ago

Try to run bundle update. For some strange reason bundler installed older version of this gem. Updating fixed the problem. And also it's better to use @klacointe's fork for Devise 4 support.

sdhull commented 8 years ago

So even after bundle update, still getting this error.

wrong number of arguments (given 3, expected 1..2)

I had to switch my gemfile to use github & the devise-4x branch. Now it's working.

sreejithponn commented 8 years ago

I hit exactly the same problem.. figured that with sidekiq it is rather easy to implement without needing this gem. https://github.com/mperham/sidekiq/wiki/Devise

Jellyfishboy commented 8 years ago

+1 also seeing this issue

swapnilchincholkar commented 8 years ago

Looks like same as #94....

SimonVillage commented 7 years ago

Still no fix for it?

ghost commented 7 years ago

@TAiS46 I guess it is still a problem. If you're usign Rails > 4.2 and Devise > 4.0 you could use these https://github.com/plataformatec/devise#activejob-integration and not devise-async

baschtl commented 7 years ago

Closing this as the latest release depends on ActiveJob. Also have a look into #94 if you are interested in the details.