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