my practice with the demo from railstutorial.org