|
Re: RESTful mixin, mixin repo?: msg#00009lang.ruby.camping.general
hey, that's nice perhaps you could write up a page on the wiki ? http://code.whytheluckystiff.net/camping/wiki/LikeRails On 11/14/06, Mark Fredrickson <mark.m.fredrickson-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote: > Hi, > > I just put together a little mixin to provide pseudo-RESTful services > in camping apps. Basically, it looks for a hidden _verb field in form > posts, and sets the @method to the supplied value (e.g. put or delete > - which browsers don't support). This lets you define put and delete > methods in your controllers. Groovy. > > Code: > > http://pastie.caboo.se/22613 > > Is there any permanent repo of little code snippets/mini-libraries for > Camping? Is the wiki the best place? I think a lot of camping code > could be re-used via mixins and it would be nice to have a > Camping-forge type place to go find existing work. > > Cheers, > -Mark > _______________________________________________ > Camping-list mailing list > Camping-list-GrnCvJ7WPxnNLxjTenLetw@xxxxxxxxxxxxxxxx > http://rubyforge.org/mailman/listinfo/camping-list > -- Rodney http://www.pinupgeek.com http://www.dutchrailers.org
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RESTful mixin, mixin repo?, Mark Fredrickson |
|---|---|
| Next by Date: | Re: Re: RESTful mixin, mixin repo?, Mark Fredrickson |
| Previous by Thread: | RESTful mixin, mixin repo?, Mark Fredrickson |
| Next by Thread: | Re: Re: RESTful mixin, mixin repo?, Mark Fredrickson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |