Set up Rails API. End of part 3