有没有一个宝石来创建类似Twitter的跟踪,或者这是一个微不足道的:has_many? [英] is there a gem to create Twitter-like follow or is that a trivial :has_many?

查看:139
本文介绍了有没有一个宝石来创建类似Twitter的跟踪,或者这是一个微不足道的:has_many?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

想知道有人想要一个类似Twitter的关注功能,是否有宝石?我知道有一个处理朋友,但是简单地是has_many还是有一个有助于实现的gem(包括ajax / jquery部分?)

was wondering if someone wanted a Twitter-like follow feature, is there a gem? I know there is one to handle "friends" but is following simply has_many or is there a gem which would help with implementation (including the ajax/jquery portion?)

推荐答案

这是一个插件(而不是一个gem),但它的rails3兼容,并且完全相同:
https://github.com/tcocca/acts_as_follower/

This is a plugin (not a gem), but it's rails3 compatible and is quite complete: https://github.com/tcocca/acts_as_follower/

这篇关于有没有一个宝石来创建类似Twitter的跟踪,或者这是一个微不足道的:has_many?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆