I am using a form partial for updating and creating my users.
<%= form_for @user do |f| %>
Now rails automatically assigns the method post if the form corresponds
with a nonexistent user and the patch method if the user exists and just
needs to be updated.
My problem is that the update form and the new user form are supposed to
be slightly different, therefore I would like to write code like
… do something else
Is there a way to accomplish this?