Skip to content


Subversion checkout URL

You can clone with
Download ZIP
presentation and sample code about rack apps
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

Off The Rails: Web Apps With Rack, Sinatra, Grape, and Siesta

This is a talk and related code written by Alex Chaffee about Rack apps and Ruby webapp frameworks that are not on Rails. It lives at is the markdown document of the "slides" (more like notes) for the presentation.

app.rb is a little Rack app that renders the slides into HTML and wraps them in a page with some CSS. Run it with ruby app.rb (or ruby -rrubygems app.rb if you're on Ruby 1.8)

rack/ and sinatra/ contain sample apps and middleware that are referenced by the talk.

rack/redirect_host.rb is a middleware component pulled from a real app that redirects from one host to another, e.g. from to

Something went wrong with that request. Please try again.