This is rails project example how works with couchdb and device with gunclip