I'm looking for a quick solution for multi file upload with rails_admin.

Any ideas or solutions out there?

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top