Rails stack for API