My attempt to make a clean & simple Sinatra template file. Uses SQLlite3 for development and Postgres DB for production.
Basically follows the tutorial by M. Herman @: http://mherman.org/blog/2013/06/08/designing-with-class-sinatra-plus-postgresql-plus-heroku/