rails api provided