Frederick Cheung wrote: > Come, on this is open source after all :-)
Yes, but the problem was with my code, not his. def new @user = User.new(params[:user]) if @user.save flash[:notice] = 'User Account Added' redirect_back_or_default account_url else render :action => new end end Should have been. def new @user = User.new end Somehow I ended up coding a create method and labelling it as new. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---