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 link to access destroy and update.

I think this is mainly because of the corresponding HTTP verbs, that
are supposed to be used. But unfortunately PUT and DELETE are not
supported by browsers. In Rails, these are simulated with a hidden
field "method" that contains these meta information. In the Mailing
List Archive a found a hint, that sleeping bag would use a hidden
field "_verb" respectively, but I cannot make it work, neither can I
find any hints on that issue in the source of sleeping bag.

Does anybody know, how I can build a link/form to update and destroy?

Thanks for these great tools, both camping and sleeping bag feel as
lightweight as it gets.

Cheers,

Gregor
_______________________________________________
Camping-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to