Rest Service with Ruby On Rails