Automating data exchange between your Rails backend and an iPhone App