Ask A Question

Notifications

You’re not receiving notifications from this thread.

Sending Alerts Based on Threshold

Paulo Avelino asked in Rails

I am building an app wherein user can create an alert based on current value of average or sum of table column. For example if SUM of column A is < 100 a notification should be sent to receipients.
User can add query and condition dynamically. Is there any existing sample or gem that constantly checks for database value and sends notification for alert . I also what it to be snoozable so it wont spam notification if value does not move for a day or two

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 83,453+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.