Michaeil Hartl, edition 3, http://draft.railstutorial.org/book/toy_app