mhfs / devise-async

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

Rails 5 Support #99

Closed sahilchopra closed 7 years ago

sahilchopra commented 7 years ago

Trying to click at reset password instructions

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/recoverable.rb:93:insend_reset_password_instructions_notification' devise (4.2.0) lib/devise/models/recoverable.rb:46:in send_reset_password_instructions' devise (4.2.0) lib/devise/models/recoverable.rb:119:insend_reset_password_instructions' devise (4.2.0) app/controllers/devise/passwords_controller.rb:13:in create' actionpack (5.0.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:insend_action' actionpack (5.0.0.1) lib/abstract_controller/base.rb:188:in process_action' actionpack (5.0.0.1) lib/action_controller/metal/rendering.rb:30:inprocess_action' actionpack (5.0.0.1) lib/abstract_controller/callbacks.rb:20:in block in process_action' activesupport (5.0.0.1) lib/active_support/callbacks.rb:126:incall' activesupport (5.0.0.1) lib/active_support/callbacks.rb:506:in block (2 levels) in compile' activesupport (5.0.0.1) lib/active_support/callbacks.rb:455:incall' activesupport (5.0.0.1) lib/active_support/callbacks.rb:101:in __run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in_run_process_action_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in run_callbacks' actionpack (5.0.0.1) lib/abstract_controller/callbacks.rb:19:inprocess_action' actionpack (5.0.0.1) lib/action_controller/metal/rescue.rb:20:in process_action' actionpack (5.0.0.1) lib/action_controller/metal/instrumentation.rb:32:inblock in process_action' activesupport (5.0.0.1) lib/active_support/notifications.rb:164:in block in instrument' activesupport (5.0.0.1) lib/active_support/notifications/instrumenter.rb:21:ininstrument' activesupport (5.0.0.1) lib/active_support/notifications.rb:164:in instrument' actionpack (5.0.0.1) lib/action_controller/metal/instrumentation.rb:30:inprocess_action' actionpack (5.0.0.1) lib/action_controller/metal/params_wrapper.rb:248:in process_action' actionpack (5.0.0.1) lib/abstract_controller/base.rb:126:inprocess' actionview (5.0.0.1) lib/action_view/rendering.rb:30:in process' actionpack (5.0.0.1) lib/action_controller/metal.rb:190:indispatch' actionpack (5.0.0.1) lib/action_controller/metal.rb:262:in dispatch' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:50:indispatch' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:32:in serve' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:16:inblock in ' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:46:in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:inblock in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:inserve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in call' warden (1.2.6) lib/warden/manager.rb:35:inblock in call' warden (1.2.6) lib/warden/manager.rb:34:in catch' warden (1.2.6) lib/warden/manager.rb:34:incall' rack (2.0.1) lib/rack/etag.rb:25:in call' rack (2.0.1) lib/rack/conditional_get.rb:38:incall' rack (2.0.1) lib/rack/head.rb:12:in call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:incontext' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in call' actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:incall' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in block in call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in _run_call_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:inrun_callbacks' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:incall' actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in call' actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:incall' web-console (3.4.0) lib/web_console/middleware.rb:135:in call_app' web-console (3.4.0) lib/web_console/middleware.rb:28:inblock in call' web-console (3.4.0) lib/web_console/middleware.rb:18:in catch' web-console (3.4.0) lib/web_console/middleware.rb:18:incall' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:incall_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:inblock in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:intagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in call' sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:incall' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in call' rack (2.0.1) lib/rack/method_override.rb:22:incall' rack (2.0.1) lib/rack/runtime.rb:22:in call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:incall' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:incall' rack (2.0.1) lib/rack/sendfile.rb:111:in call' railties (5.0.0.1) lib/rails/engine.rb:522:incall' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service'

dongfeng676 commented 7 years ago

I have same isuess.

ghost commented 7 years ago

Same here...

TimVille commented 7 years ago

Same here too... but on new registration

ahmadina commented 7 years ago

Same here...

verbaleks commented 7 years ago

Same here... )))

baschtl commented 7 years ago

Hey there,

if you all are using devise-async 0.7.0 than I need to inform you that this version is not compatible with devise 4.x. The dependency to devise has been further restricted in later versions.

Also see https://github.com/mhfs/devise-async/issues/94 for support for devise 4.x.