On Jun 14, 2009, at 11:42 PM, Rick DeNatale wrote: > Now in googling about, I discover that there's a railsdav plugin whose > usage I don't entirely understand. > > One thing it does is to patch ActionController::AbstractRequest (or > ActionController::Request in Rails 2.3) to add the webdav methods to > the HTTP_METHODS constant. It's not clear whether this is enough to > allow routes to use the new methods as condititions or not. >
Unless something has changed since 2.2.2, adding to HTTP_METHODS is pretty much all that you need - see this article for an example: http://rails.learnhub.com/lesson/2318-dealing-with-microsoft-office-protocol-discovery-in-rails I used this after about the tenth exception notifier message showed up in my mailbox on a Rails 2.2.2 app. --Matt Jones --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
