Rails 中的通知系统 [英] Notification System in Rails

查看:60
本文介绍了Rails 中的通知系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道有什么好的 RoR 通知插件/gem.

Does anyone know any good notification plugin/gem for RoR.

我需要以某种方式存储事件并在用户离线时将它们显示给用户,或者如果在线则以一种很好的方式将它们呈现给用户.

I need to somehow store events and display them to the user if he/she is offline OR present them to the user in a nice way if online.

这类似于 Facebook 通知,用户会收到新消息、评论、喜欢等的通知.

This is similar to Facebook Notifications where a user is notified for new messages, comments, likes etc.

谢谢

推荐答案

有一个名为 Mailboxer 的 gem,它具有类似的功能.

There is a gem called Mailboxer which has similar functionalities.

这篇关于Rails 中的通知系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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