Switch to Rails API