Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserve changes made by external calls #141

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

Preserve changes made by external calls #141

aL3xa opened this issue Apr 10, 2012 · 1 comment

Comments

@aL3xa
Copy link

aL3xa commented Apr 10, 2012

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
Copy link

pklingem commented May 2, 2012

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants