Preserve changes made by external calls #141

Open
aL3xa opened this Issue Apr 10, 2012 · 1 comment

2 participants

@aL3xa

OK, this is definitely a noobish one, but here goes. I've managed to define a new Model, store data, etc. but I also store the data to database via external call (just ordinary HTTP PUT) - external to CouchRest, to be precise. After I put the data into the database, I can see the changes in Futon, but not via ActiveModel. Is it possible to make CouchRest aware of the changes made by the external call?

@pklingem

will this do the trick?

model_instance.reload

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment