following interactive tuturial from http://railsforzombies.org