I\'m trying to add a name attribute to the User model provided by Devise. I added a \"name\" column to my database, and changed the sign up view so that it asks for the use
private def sign_up_params params.require(:user).permit(:name,:email,:gender,:age,:password,:password_confirmation) if params[:user].present? end
Add this in the controller that extends devise's default registration controller