great - so i would drop that function into the user-model? thx
On Tue, Dec 6, 2016 at 11:54 AM, Jerry Clinesmith <jerryclinesm...@gmail.com > wrote: > devise_async doesn't support Devise 4: https://github.com/mhfs/ > devise-async/issues/94 > > Good news, you don't really need it, Devise has a fix to integrate with > ActiveJob so you can remove the async gem and change your Devise model: > https://github.com/plataformatec/devise#activejob-integration > > > On Monday, December 5, 2016 at 10:19:28 AM UTC-6, der_tom wrote: >> >> it all worked locally, and now i am in production and get that: >> >> >> ArgumentError (wrong number of arguments (given 3, expected 1..2)): >> devise-async (0.7.0) lib/devise/async/model.rb:27:in >> `send_devise_notification' >> devise (4.2.0) lib/devise/models/confirmable.rb:117:in >> `send_confirmation_instructions' >> devise (4.2.0) lib/devise/models/confirmable.rb:132:in `block in >> resend_confirmation_instructions' >> devise (4.2.0) lib/devise/models/confirmable.rb:232:in >> `pending_any_confirmation' >> devise (4.2.0) lib/devise/models/confirmable.rb:131:in >> `resend_confirmation_instructions' >> devise (4.2.0) lib/devise/models/confirmable.rb:303:in >> `send_confirmation_instructions' >> devise (4.2.0) app/controllers/devise/confirmations_controller.rb:9:in >> `create' >> actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in >> `send_action' >> >> >> this happens whenever devise wants to send out emails. >> >> im using sidekiq, rails 4.2 >> >> thx >> t >> > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscr...@googlegroups.com. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/rubyonrails-talk/b0a70447-69e1-4781-8a84- > a430077f67aa%40googlegroups.com > <https://groups.google.com/d/msgid/rubyonrails-talk/b0a70447-69e1-4781-8a84-a430077f67aa%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMfpKAa4VWo9MZaPKH_G3fdJL4YyzvU1dzuPLS3JsaDpWg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.