sinatra blog example following http://danneu.com/posts/15-a-simple-blog-with-sinatra-and-active-record-some-useful-tools/