main sample app for rails tutorial