Rails engine for uploading files with jQuery File Upload