From 98565f28b80d19934920eb69657419c96102bd69 Mon Sep 17 00:00:00 2001 From: Hagar Abdlwahab Date: Mon, 18 Feb 2019 11:01:11 +0200 Subject: [PATCH] Update README.md to upload multiple files you need to mount the uploader in your model with (mount_uploaders) with `s` not (mount_uploader) --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 9ee821120..a322c374d 100644 --- a/README.md +++ b/README.md @@ -163,6 +163,9 @@ class User < ActiveRecord::Base end ``` +Make sure that you mount the uploader with write (mount_uploaders) with `s` not (mount_uploader) +in order to avoid errors when uploading multiple files + Make sure your file input fields are set up as multiple file fields. For example in Rails you'll want to do something like this: