paperclip - 附件_fu 或 Rails3 的回形针

标签 paperclip attachment-fu ruby-on-rails-3

我刚刚升级到 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/

    相关文章:

    ruby - 如何使用 WebMock 在 Sinatra 应用程序中模拟 Paperclip 调用?

    authentication - 如何在 Rails 3.2 中使用回形针毫无错误地检索 facebook、twitter 和 google 个人资料图像

    ruby-on-rails - 附件_fu : how can I selectively prevent thumbnail creation?

    javascript - 具有 Primary_key 支持的 Rails 3 自动完成解决方案

    jquery - 如何在 Rails 中使 Ajax 请求失败?

    ruby-on-rails - 上传响应式背景图片

    paperclip - Rails 3 回形针安装,现在得到 LoadError

    ruby-on-rails - 为什么我从 Flash 上传到 Rails 和 attachment_fu 不起作用(它与内容类型有关)?

    ruby-on-rails - 无法在 Rails 邮件程序中将 xlsx 作为附件发送

    ruby-on-rails - 通过保持连接打开来加速 OpenUri?