Access denied, Please sign in and make sure you have proper permission.
技能 Get: Rails 5 added new aliases
class User < ApplicationRecord
after_create_commit :send_welcome_mail
after_update_commit :send_profile_update_notification
after_destroy_commit :remove_profile_data
def send_welcome_mail
EmailSender.send_welcome_mail(email: email)
end
end
huacnlee
in
[Topic was deleted]
mention this topic.
08 Jul 11:07