On Nov 13, 2006, at 10:37 PM, Mark Fredrickson wrote: 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.
That's rad.
While we're on the topic, I rolled a Railsish respond_to method for my Camping app:
|
_______________________________________________
Camping-list mailing list
Camping-list-GrnCvJ7WPxnNLxjTenLetw@xxxxxxxxxxxxxxxx
http://rubyforge.org/mailman/listinfo/camping-list
|