You can leave off the html: { multipart: true} rails will do this automatically when it sees a file_field.