Simple question?

Can anybody explain why the attached file lus controller code below does
not, as it surely should, lead to the creation of a new user. What else
in the app could be preventing this?

def create
@user = User.new(params[:user])

 respond_to do |format|
 if @user.save

     format.html { render :action => "new" }
     format.xml  { render :xml => @user.errors, :status =>

:unprocessable_entity }
end
end
end

Puzzled

Neil

Neil B. wrote in post #1001883:
I solved this. Made a test app with user as it’s only class. Swapped
users_controller.rb and users/new.html.erb over to It then swaed them
back and it worked???

Neil