Super basic Rails API for practicing AJAX requests