Rails file upload implementation with jQuery-File-Upload