WebDAV Ruby On Rails Plugin

June 25th, 2006

The moment a few of you have been waiting for.

I’m releasing the first version of the RailsDAV plugin. What does RailsDAV do. Well it allows people to create Ruby On Rails controllers which will respond to WebDAV requests and expose functionality as a file-system.

The plugin can be downloaded from

http://svn.liverail.net/svn/plugins/railsdav

Of course the great thing about WebDAV is that it doesn’t just need to expose a directory on your server but can expose any concept you have in your application. For instance, for a Digital Asset Management System expose a list of tags as directory names, navigate into that directory and see all the images tagged with that word.

I’ll write about using the plugin in just a second, but first a little wording. This is definitely a 0.1 release and still needs work and a lot of testing before being production ready. It is likely to take on a different shape as well. It has many problems under WebBrick but works very very nicely under Mongrel (this is a problem with WebBrick) But release early, release often huh!

The plugin contains a base WebDAV controller and 2 specific implementations. A file-system exposer and an ActiveRecord exposer.

With thanks to Fabien Franzen for his input so far

There is also video of the FileSystem WebDAV Controller and the ActiveRecord WebDAV Controller

Read the rest of this entry