rails api backend to getit