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