Well I couldn't wait :-) So I took the existing code, and found that it didn't support reduce/rereduce, so I added that.
Code available at http://github.com/candlerb/couchdb_ruby_view Modifying my benchmark suite to use Ruby views, it seems to run substantially faster than Javascript - and this is with ruby 1.8.7 not 1.9. However I'm seeing an intermittent problem with wrong view data being returned (a view which should return 3000 rows is returning zero, or vice versa), so I'll investigate that further. Regards, Brian.
