REST bug with form_for

Can you show your routes.rb file?

the project_url is also called on the redirect from the update
method.

it does not look like you are setting the @user variable in that
method.

daniel