Ruby Gem for comments with mongoid
I am in need to integrate comments to my existing mongoid documents. is the开发者_如何学Pythonre any rubygem available to achieve it?
usually you'd use acts_as_commentable
https://github.com/jackdempsey/acts_as_commentable
but it only works with ActiveRecord.
Use this one for Mongoid:
https://github.com/mgolovnia/mongoid_commentable
精彩评论