ACK – Okay, everythings works great ;-).

--
Benjamin LAN-SUN-LUK



Le 29/10/08 19:10, « Darryl Pierce » <mcpierce@gmail.com> a écrit :

On Wed, Oct 29, 2008 at 10:35 AM, LAN-SUN-LUK Benjamin
<Benjamin.LAN-SUN-LUK@supinfo.com> wrote:
> NAK – At the edit page of a task. When I click on "update", it create a new
> one.
>
> I think the form in the edit page must redirect to the controller task with
> PUT method, not POST.

Okay, I think I got it this time. I did a create, edit and delete and
saw no problems or duplication. The code now checks in _edit.html.erb
to see if it's a new record and, if so, sets the HTML method to POST.
Otherwise, it assumes PUT.

--
Darryl L. Pierce <mcpierce@gmail.com>
Visit the Infobahn Offramp: <http://mcpierce.multiply.com>
"Bury me next to my wife. Nothing too fancy..." - Ulysses S. Grant
_______________________________________________
projxp-devel mailing list
projxp-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/projxp-devel