Home / Companies / Twilio / Blog / Post Details
Content Deep Dive

SMS and MMS Notifications with Ruby and Rails

Blog post from Twilio

Post Details
Company
Date Published
Author
Jarod Reyes
Word Count
1,285
Company Posts That Month
107
Language
English
Hacker News Points
-
Post removed?
No
Summary

Ruby on Rails is used to send SMS (Short Message Service) alerts to a list of system administrators if something goes wrong on the server. The application uses the Twilio REST API to send messages. A YAML file is used to store the phone numbers of the administrators. The `rescue_from` method is used to rescue any exception raised in controller actions and trigger SMS alerts when something goes wrong. Custom alert messages can be created using a template, and images can be included with the message for US and Canadian phone numbers. The application also includes features such as sending reminders and reducing no-shows.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.