rails tutorial application by pragmatic studio