gpt4 book ai didi

paperclip - 附件_fu 或 Rails3 的回形针

转载 作者:行者123 更新时间:2023-12-04 00:40:29 41 4
gpt4 key购买 nike

我刚刚升级到 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: http://trevorturk.com/2010/2/8/kzak-an-open-source-web-based-jukebox/)



更多信息在这里:
  • http://techblog.moviepilot.com/carrierwave-as-a-replacement-for-paperclip
  • 关于paperclip - 附件_fu 或 Rails3 的回形针,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4445244/

    41 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com