Implementing Notifications in Rails

后端 未结 6 1202
渐次进展
渐次进展 2021-01-30 03:51

In my application, I want to notify a user, when he/she is mentioned in a comment or a post.
The user handle is @user_name, similar to Facebook

6条回答
  •  既然无缘
    2021-01-30 04:07

    I actually am interested in a concrete answer to this myself. I don't know how Facebook and Twitter do it, but I do know from general searches that the gem acts-as-taggable-on could get the job done. Check out https://github.com/mbleigh/acts-as-taggable-on.

    Also, this question on stackoverflow might also provide you with some info: Implementing twitter-like hashtag on rails

    Good luck. I encourage you to try to get more attention to this question and get a more solid answer than what I've said. :]

提交回复
热议问题