Synchronize Android client and REST server
REST Server I created a Rails server that contains :users and associated :comments . It is used as a backend API for an Android client. The exchange format to load and store data at the server is JSON. Here are the relevant migrations. class CreateUsers < ActiveRecord::Migration def change create_table :users do |t| t.string :name t.timestamps end end end ... class CreateComments < ActiveRecord::Migration def change create_table :comments do |t| t.references :users t.string :subject t.text :message t.timestamps end end end All users have already been imported. Therefore, only read access is