加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

Attachment_fu或Paperclip for Rails3

发布时间:2020-12-16 19:46:27 所属栏目:百科 来源:网络整理
导读:我刚刚升级到rails3,当我安装我通常的attachment_fu插件失败.所以我开始搜索它,虽然我设法找到一个rails3版本,似乎有更多的人谈论与rails3的回形针. 那么首先有什么优点呢? 有更好的支持rails3吗? 解决方法 都不是.使用 carrierwave. To handle the file u
我刚刚升级到rails3,当我安装我通常的attachment_fu插件失败.所以我开始搜索它,虽然我设法找到一个rails3版本,似乎有更多的人谈论与rails3的回形针.

那么首先有什么优点呢?

有更好的支持rails3吗?

解决方法

都不是.使用 carrierwave.

To handle the file uploads,I’ve switched from Paperclip to CarrierWave. While Paperclip has (and continues) to serve me well in many applications I work with,I really appreciate the modular approach that CarrierWave takes. It’s agnostic as to which of the popular S3 clients you use,supporting both aws/s3 and right_aws. It’s also ORM agnostic and not tightly coupled to Active Record. The tight coupling of Paperclip has caused us some grief at work,and I’m also confused about the state of Paperclip’s support for aws/s3 and right_aws. So,I was happy to find this new project,and the maintainer Jonas Nicklas seems to be an extremely responsive and helpful dude,which is always good thing. The code looks great,and I’ve had an easy time working with this library so far. (from: 07001)

更多信息:

> http://techblog.moviepilot.com/carrierwave-as-a-replacement-for-paperclip

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读