I have a rails app that uses two of the same models as another rails app I have. What's the best way to keep data synced between two models?
MySQL replication probably won't be possible due to hosting restrictions and since stuff that references the replicated data is dependent => :destroy meaning mysql replication will cause stuff that points to replicated data that is deleted to remain.
In short, what's the best way to do replication between two rails apps, on a per-model basis, at the application level? Am I going to have to hack my own replication using REST, or is there a better way?
I should add that data changes infrequently, at most a few times a day, and the set will always be less than 50k rows.
Edit: In response to Toby's comment below, the data is all going one way.