-
Notifications
You must be signed in to change notification settings - Fork 899
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
Touch not saving changes. touch_with_version did #1076
Comments
Okay so touch_with_version should almost be called save_with_version |
Sure, that would be fine. I definitely do not think this should just be deprecated though, as it's completely different behavior. |
Closing via #1078
I like the idea of having a |
Yes thanks! |
Simple example of the difference:
^^ This does not update the name in either the database or the versions table.
^^ This updates both the name in the database, and adds a correct version row for the updated name in the versions table.
This is a huge difference in behavior, and one which is relied upon likely by many people besides us -- it is integral to the behavior of the counter_culture gem's support of the
with_papertrail
option.Please either do not deprecate this, or fix the behavior of
touch
to be equivalent. Right now they are two completely different behaviors.The text was updated successfully, but these errors were encountered: