Multi file upload with rails_admin (Carrierwave, Paperclip, Dragonfly)
-
28-04-2021 - |
Domanda
I'm looking for a quick solution for multi file upload with rails_admin.
Any ideas or solutions out there?
Soluzione
The approach I'd take here is to develop a custom action which would include it's own view and controller processing.
You can generate a rails_admin plugin with the directions at the top of the page here.
And here are some examples of custom actions I've built out:
The import plugin has a supporting blog article here. This is the file you want to look at where you add your upload behavior inside the :controller instance option.
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow