trying to learn the basics of rails