Rails render route path
问题 Im still new to Rails and have a hard time understanding how the path system works in Rails. In my routes.rb i create an alias for signup: match 'signup' => 'user#new' resource :user, :controller => 'user' The action is there and going to /signup shows the correct action. So far so good. Now, when i submit my signup form it runs the create action with POST as usual. And here is where im stuck. If the signup fails, i would like to present the user with the signup form again. One option would