Displaying 1 result from an estimated 1 matches for "news_delet".
Did you mean:
news_delete
2007 Jan 29
5
Getting the reason why this fails ??
Hi there.
Have this code, and i need to find put why it fails.
>>Controller
------------
def update
@user = User.find(@params[:id])
if @user.update_attributes(@params[:user])
flash[:notice] = ''The user was successfully updated.''
redirect_to :action => ''show'', :id => @user
else
flash[:notice] = "Error: The user