简体   繁体   English

我可以使用Paperclip在Rails中发表评论吗?

[英]Can I use Paperclip for comments in rails and how?

I want users to be able to comment on a post with an image or gif which Paperclip supports very well. 我希望用户能够用Paperclip很好地支持的图片或gif来评论帖子。 How can i achieve that? 我该如何实现? Can it work with acts_as_commentable? 它可以与acts_as_commentable一起使用吗?

您可以使用wysiwyg-rails更容易

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在不继承ActiveRecord :: Base的类中使用Paperclip gem for Rails? - How can I use Paperclip gem for Rails in a class that does not inherit from ActiveRecord::Base? 如何优化使用Paperclip&Rails上传的图像? - How can I optimize images uploaded using Paperclip & Rails? Rails的回形针:我可以访问该模型吗? - Paperclip for Rails: Can I access the model? 如何在Rails中使用自定义服务器进行曲别针? - How to use custom server for paperclip in rails? Rails Paperclip如何使用ImageMagick的过滤器选项? - Rails Paperclip how to use filter options of ImageMagick? 如何在带有回形针的Rails中使用嵌套表单? - How to use nested forms in Rails with paperclip? 如何在Rails博客应用中删除评论? - How can I delete comments in a rails blog app? 如何在具有最新评论的帖子中“突出显示”帖子,如何在Rails的顶部显示没有评论的新帖子? - How can I “bump” posts by ones with the latest comments AND have new posts with no comments appear at the top in Rails? 如何在Heroku上处理Rails应用程序的用户上传照片文件(使用回形针)? - How can I handle user-uploaded photo files for a Rails app (using paperclip) on Heroku? Rails send_file来自Paperclip的多个样式,如何避免代码重复? - Rails send_file multiple styles from Paperclip, how can I avoid code repetition?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM