app/controllers/concerns/authentication.rb
# If you want to add custom attributes to the devise to be editable (ie: username)
If you want to add custom attributes to the devise to be editable
If you want to add custom attributes to the devise to be editable
def configure_permitted_parameters
    devise_parameter_sanitizer.permit(:sign_up, keys: %i[name])
    devise_parameter_sanitizer.permit(:account_update, keys: %i[name])
  end
def configure_permitted_parameters devise_parameter_sanitizer . permit ( :sign_up , keys : %i[ name ] ) devise_parameter_sanitizer . permit ( :account_update , keys : %i[ name ] ) end
If you want to add custom attributes to the devise to be editable (ie: username)
If you want to add custom attributes to the devise to be editable ( ie : username )
# devise_parameter_sanitizer.permit(:sign_up, keys: %i[email password password_confirmation name]) # devise_parameter_sanitizer.permit(:account_update, keys: %i[email password password_confirmation current_password name])