Building a small application in Rails as a tutorial