Displaying 1 result from an estimated 1 matches for "edit_detail".
Did you mean:
  edit_details
  
2006 Nov 04
0
Functional test issue for testing newbie
Hi there
I''m having difficulty succesfully updating attributes via a post
request in a functional test.
Here''s some pastes:
######################################
# account_controller.rb
def edit_details
    @user = User.find(self.current_user.id)
  return unless request.post?
  if @user.update_attributes(params[:user])
    flash[:notice_good] = ''Your account details were successfully updated.''
    redirect_to :action => ''index''
  else
    render :action =>...