Simulate HTTP put and delete in Camping/SleepingBag

2007-06-22 Thread Gregor Schmidt
Hello, I'm not yet a camping guru nor a RESTafarian, but I try. Currently I'm trying to build a rest-style web app with sleeping bag/camping and I may successfully access the index, show, new, create and edit methods, that are provided with sleeping bag. But I don't know, how to build a form or l

Re: Simulate HTTP put and delete in Camping/SleepingBag

2007-06-22 Thread Mark Fredrickson
Hi Gregor, Take a look at: http://osdir.com/ml/lang.ruby.camping.general/2006-11/msg8.html I'm not familiar with sleeping bag (link?) but perhaps this will help. -M On 6/22/07, Gregor Schmidt <[EMAIL PROTECTED]> wrote: > Hello, > > I'm not yet a camping guru nor a RESTafarian, but I try.

Re: Simulate HTTP put and delete in Camping/SleepingBag

2007-06-22 Thread Gregor Schmidt
Hi Mark, Thanks for the tip, with the help of this snippet, the actions are routed correctly. SleepingBag is a REST-API for Camping, that I stumbled upon on this mailing list, I guess. It provides you with rails-like routing to the standard REST methods for your controllers. Unfortunately, there

Re: Simulate HTTP put and delete in Camping/SleepingBag

2007-06-22 Thread carmen
On Fri Jun 22, 2007 at 04:51:37PM +0200, Gregor Schmidt wrote: > Hello, > > I'm not yet a camping guru nor a RESTafarian, but I try. > > Currently I'm trying to build a rest-style web app with sleeping > bag/camping and I may successfully access the index, show, new, create > and edit methods, th