Create ruby on rails api.