This is a very simple Sinatra application as described by Joel Gascoigne for creating a landing page hosted using Heroku and MongoHQ free plans. Read Joel's post for a detailed description.
I've made a couple tweaks, including moving to Bundler, using Compass and displaying default input field text using the placeholder attribute with the jQuery placeholder plugin as a fallback.