Add rails api solution to readme