demo app second chapter of my rails tutorials