working with the structure of rails doing a blog