using ruby on rails tutorial