You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Devise 4.3.0 confirmable module uses hooks like
after_commit :send_on_create_confirmation_instructions, on: :create, if: :send_confirmation_notification?
after_commit :send_reconfirmation_instructions, on: :update, if: :reconfirmation_required?
which invoke this deprecation warning of Sequel:
SEQUEL DEPRECATION WARNING: Sequel::Model.after_commit in the hook_class_methods plugin is deprecated and will be removed in Sequel 5. Use after_save{db.after_commit{}} instead.
This uses the recommended code for after_commit and allows to use the :on option.
0 commit comments