Register

<% form_for @user do |f| %> <%= f.error_messages %> <%= render :partial => "form", :object => f %> <%= f.submit "Register" %> <% end %>
<%= link_to "All users", users_path %>