Ruby Gem用于评论mongoid

时间:2011-09-26 11:38:34

标签: rubygems mongoid

我需要将评论整合到我现有的mongoid文档中。有没有可用于实现它的rubygem?

1 个答案:

答案 0 :(得分:2)

通常你会使用acts_as_commentable

https://github.com/jackdempsey/acts_as_commentable

但它只适用于ActiveRecord。

将这个用于Mongoid:

https://github.com/mgolovnia/mongoid_commentable