main app in rails tutorial