Picture uploading Rails based web app using Datamapper and Elasticsearch