Multi file upload with rails_admin (Carrierwave, P

2019-06-07 20:57发布

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

Any ideas or solutions out there?

1条回答
姐就是有狂的资本
2楼-- · 2019-06-07 21:43

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.

查看更多
登录 后发表回答