An implementation of the blog tutorial with rails