Two Factor Authentication in Rails 4 with Devise, Authy and Puppies

Passwords aren’t enough any more. Keeping user data safe is hard enough without users themselves choosing the worst passwords in the world. Yes, “123456” has topped the list of most commonly used password of the year again. Two factor authentication keeps your users’ accounts secure by requiring a second factor of authentication, something a user has (their phone) as well as something they know (their password)…. Read More

Delay API calls to Twilio with Rails, Active Job and Sidekiq

Performance is key in web applications. Snappy websites make for better user experiences, higher conversion rates and better user retention. A swift application response causes less stress on servers trying to respond to many users too. There are many ways to improve the performance of a web application in Rails and I want to look at one of those today. Performing long running, blocking tasks during… Read More

Managing Development Environment Variables Across Multiple Ruby Applications

There is one thing I’ve noticed on the Twilio blog since I started here. We are always telling you to store your account SID and auth token in environment variables. What we don’t tend to do is spend too much time talking about how best to manage those environment variables. In my previous role, I worked at a digital agency contributing to many different applications over… Read More

Securing Your Ruby Webhooks with Rack Middleware

rack-logo

Hello fellow Rubyist, I see you have your shiny new Twilio application written, perhaps a Rails app or Sinatra, like in our Ruby quickstart guide. Before you hit that deploy button, you need to stop and ask yourself a couple of questions about that app. Do your webhooks expose sensitive data when they receive a request? Do they change data within your system? If your answer… Read More

Twilio and Rails 3: Tracking SMS Conversations

Alex Meyer is a developer and a DOer. While building a Twilio Powered app on Rails 3, he ran into a problem but quickly developed the solution. Below is a detailed post by Alex on tracking SMS conversations built with Twilio on Rails 3.  He is the founder of stealth startup Ordext, an SMS restaurant ordering service, that is built on Ruby on Rails and powered by Twilio…. Read More