If it rejects the attribute, I assume that you need to add it to the application controller.
def configure_permitted_parameters devise_parameter_sanitizer.for(:sign_in) { |u| u.permit(:nickname) } devise_parameter_sanitizer.for(:sign_up) { |u| u.permit(:nickname, :email, :password) } end
I hope you are talking about this.
source share