Working through railstutorial by Michael Hartl.