Content Deep Dive
Automated Survey with Ruby and Rails
Blog post from Twilio
Post Details
Company
Date Published
Author
Jose Oliveros
Word Count
1,477
Language
English
Hacker News Points
-
Summary
The tutorial describes how to create an automated survey using the Twilio API with Ruby on Rails. It covers the flow of a Twilio-powered survey as an interview loop, including configuring a Twilio number, responding to requests from calls and SMS, handling responses, and displaying survey results. The application uses a combination of controllers (SurveysController, QuestionsController, AnswersController) and models (Survey, Question, Answer) to store and process user input. It also includes a sample survey and instructions on how to set up the application for testing.