Re: [Rails] Rails 3 route problem

2011-02-12 Thread João Pereira
Yeah, I was only allowing POST and GET on that route, Rails was looking for a PUT because the object user was not new. Thanks On Thu, Feb 10, 2011 at 12:28 AM, Jim Ruther Nill wrote: > since the routes match exactly, I think the problem is in the method.  I > haven't used simple_form yet so I do

Re: [Rails] Rails 3 route problem

2011-02-09 Thread Jim Ruther Nill
since the routes match exactly, I think the problem is in the method. I haven't used simple_form yet so I don't know what it does but you should check if it sets the method to PUT for existing records. On Thu, Feb 10, 2011 at 8:17 AM, jm wrote: > Original from here: Rails 3 route problem > > He

[Rails] Rails 3 route problem

2011-02-09 Thread jm
Original from here: Rails 3 route problem Hello, After solving the other problem with routes , now I have another one. I have this route in my routes.rb: match "user/create_new_password/:reset_password_key" =>"users#create_new_password", :via=>[:post, :get], :as=>:create_new_password I can tes