Rails project to map SQL database to ios plist