使用rails_admin(载波,回形针,蜻蜓)上传多文件 [英] Multi file upload with rails_admin (Carrierwave, Paperclip, Dragonfly)

查看:73
本文介绍了使用rails_admin(载波,回形针,蜻蜓)上传多文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找使用rails_admin上传多文件的快速解决方案。



有什么想法或解决方案吗?

解决方案

我的方法



您可以生成一个自定义动作,其中包括它自己的视图和控制器处理。



您可以生成带有页面顶部指示的rails_admin插件。 此处



以下是一些我构建的自定义操作的示例:





导入插件具有支持博客的文章此处是您要查看的文件添加位置在:controller实例选项中上传行为。


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.

这篇关于使用rails_admin(载波,回形针,蜻蜓)上传多文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆