Re: [Rails] Re: Weird POST/PUT behavior

2010-01-12 Thread Curtis Cooley
On Mon, Jan 11, 2010 at 9:57 PM, Ritchie wrote: > I haven't looked at the recipe you refer to but most browsers will > only do posts. That's why Rails form helpers simulate doing a put by > adding a hidden field called _method to the form which rails then > checks for before passing control onto y

[Rails] Re: Weird POST/PUT behavior

2010-01-11 Thread Ritchie
I haven't looked at the recipe you refer to but most browsers will only do posts. That's why Rails form helpers simulate doing a put by adding a hidden field called _method to the form which rails then checks for before passing control onto your controller. PUTs *are* supposed to be used to update