My work when following the tutorial from railstutorial.org