-
Notifications
You must be signed in to change notification settings - Fork 61
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
Modifications of objects is reflected in the cache, but not in the persistence #31
Comments
How does the Ruby side handle this? |
Doesn't ruby make the change when you change the model? If we want to On Tue, Oct 11, 2011 at 3:37 PM, Bryan Duxbury <
|
No, ActiveRecord requires you to call save to persist stuff to the database. On Tue, Oct 11, 2011 at 3:39 PM, Takashi Yonebayashi <
|
I'm not sure how active record does it. Maybe check with Sean? On Tue, Oct 11, 2011 at 3:41 PM, Bryan Duxbury <
|
If an object is returned and is present in the cache, any changes to that object without a call to save are reflected in the cache, but not in the underlying persistence.
It should be decided what the desired behavior is.
The text was updated successfully, but these errors were encountered: