Scaffolding and update problem

I have the following code...

I use the standard code generate by script/generate scaffold ....

   def update
     @ftpuser = Ftpuser.find(params[:id])