Question

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

Any ideas or solutions out there?

Était-ce utile?

La solution

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top