rails API the NEO way