rails app with couchdb data