Send SMS Messages from Your Rails 5 Application with Twilio

Coffee roast varietals for Ruby

In the burgeoning world of coffee, there are many varietals of coffee roasts from many regions of the world. Your boss has tasked you to create an application for them to Create, Read, Update, and Destroy (CRUD) different coffee roasts. They have also informed you that they want to be notified via SMS every time a new coffee roast is added to their website in order… Read More

Beat the Rush on Exclusive Twitter Deals with Node.js and Twilio SMS

I just couldn’t get online fast enough. You may know the feeling: someone or some business you follow posts a sale on Twitter and by the time you get online, you have either missed the tweet or the sale has ended. You could enable SMS notifications and get every tweet texted to you in a timely fashion, but this really doesn’t help as you start to tune… Read More

How to receive and respond to text messages in Ruby with Hanami and Twilio

If you’re building web applications with Ruby then you’re probably using Rails. Hanami is a young competitor focused on providing a full featured, modern web framework for Ruby developers that is fast, secure and flexible. Hanami is a new web application framework for the Ruby community. It has been under development since 2014, initially under the name Lotus. Version 1 was released in April 2017 and version 1.1 was just… Read More

Build Your Own Daily Fantasy Football Salary Tracker with Ruby and Twilio MMS

Fantasy football with Twilio MMS

September is here, the NFL has kicked off and the fantasy season is in full swing. Kareem Hunt is a beast, Zeke is gonna serve a 6 week suspension, there’s so much going on! In this post we’ll show you how to build a price tracker for your favorite daily fantasy sports website with Ruby. It will help you stay on top of the competition and receive price alerts as… Read More

Verify user phone numbers in Ruby on Rails with the Authy Phone Verification API

If you ever need to contact your application’s users by phone then it’s good practice to verify that the phone number they enter is in fact theirs. Let’s see how to verify phone numbers in a Rails 5 application using the Authy Phone Verification API. What you’ll need To code along with this post, you’ll need: A Twilio account An Authy App which you can create… Read More

Next Generation Ruby Helper Library Release

Twilio Ruby Helper Library

Today, we are excited to announce the general availability of our next-generation Ruby helper library.   The approach The Ruby library offers new functionality and takes advantage of modern language features. We’ve rebuilt it from the ground up based on the developer feedback we received from you. This release concludes the effort of updating our existing libraries to make the helper libraries more consistent, enable faster… Read More

Hacking Pixel Art on Twilio’s SIGNAL Conference Video Wall with Ruby and 23,000 Text Messages

Hackpack in front of SIGNAL video wall

In May, Twilio set up a massive 40-foot video wall for their SIGNAL conference and handed out hackable wireless badges to every attendee. Once you activated your badge by placing it in one of the podiums in front of the display, you could send commands to a short code that would affect your personal block on the video wall. As attendees began activating their badges, you could… Read More

Validate Ruby objects with Active Model Validations

In the world of Rails and Active Record, validating data and storing it in a database is easy. If you’d ever built a simple site that stores data in a Google Spreadsheet then you’d quickly learn that users can enter anything (or nothing). In this post we’ll see how to validate input using part of Active Record: ActiveModel::Validations. Spreadsheets can be databases too In my last post… Read More