When editing your account, you are required to provide your current password. However, you can't use the password
field in a form becuase that field is needed if you ever want to update the current password.
class User < ApplicationRecord
# This is a non-database-backed attribute needed in forms and controllers.
attr_accessor :current_password
end