app/models/user.rb
def update_password(new_password)
    super(new_password).tap do |status|
      UserMailer.password_changed(self).deliver_later if status
    end
  end
# Overide clearance method to notify user of password change
Overide clearance method to notify user of password change
Overide clearance method to notify user of password change
def update_password(new_password)
    super(new_password).tap do |status|
      UserMailer.password_changed(self).deliver_later if status
    end
  end
def update_password ( new_password ) super ( new_password ) . tap do | status | UserMailer . password_changed ( self ) . deliver_later if status end end
Overide clearance method to notify user of password change
Overide clearance method to notify user of password change
new_password