0
I need to create a registration form using the Sign up form from Devise and associating to it a Custumer model that contains information such as name, date of birth etc. how do I run nested attribute in Devise?
0
I need to create a registration form using the Sign up form from Devise and associating to it a Custumer model that contains information such as name, date of birth etc. how do I run nested attribute in Devise?
0
It must look like this:
def configure_permitted_parameters
devise_parameter_sanitizer.permit(:sign_up) do |user_params|
user_params.permit({ roles: [] }, :email, :password, :password_confirmation)
end
end
Browser other questions tagged devise
You are not signed in. Login or sign up in order to post.