Quick and Dirty Apps with Sinatra, DataMapper, RestClient & Heroku
summary
Quick demos show actual code and running services: a six-line Sinatra app that redirects to a Gmail path, a Twilio-powered call service using Sunlight API to lookup legislators and connect callers, and a phone-lottery that stores entrants in DataMapper on Heroku and uses RestClient to POST Twilio call requests. DataMapper’s auto-upgrade migrations create tables live, the call app intentionally uses no persistent storage for session state, and each example deploys and works end-to-end.
AI-written summary · about
chapters (7)
- 0:00Intro
- 2:53Sinatra
- 4:25Phone Congress
- 9:30Spawn Lottery
- 15:25Losers
- 18:25HTTP Console
- 23:55Inbound Calls








