IOS application with a rails API