for railstutorial chapter III