Added remotipart into application.js for async file uploads