You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.
Due to changes in the way dm-timestamps updates the timestamps, dm-is-versioned will no longer trigger the saving of new versions when updated_at changes. This is because dm-timestamps bypasses the property accessor methods dm-is-versioned uses to determine changes and instead uses property#set.
See the attached script for the effect this has.
Created by Jonathan Stott (namelessjon) - 2010-01-20 13:46:29 UTC
The original bug is related to dm-is-versioned hooking #{attribute}= and keeping track of changes itself instead of using datamappers internal tracking of dirty attributes. So it never sees change done by attribute_set.
Sorry for the late mentioning in the bugtracker.
Regards,
Florian Gilcher
by Florian Gilcher
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Due to changes in the way dm-timestamps updates the timestamps, dm-is-versioned will no longer trigger the saving of new versions when updated_at changes. This is because dm-timestamps bypasses the property accessor methods dm-is-versioned uses to determine changes and instead uses
property#set
.See the attached script for the effect this has.
Created by Jonathan Stott (namelessjon) - 2010-01-20 13:46:29 UTC
Original Lighthouse ticket: http://datamapper.lighthouseapp.com/projects/20609/tickets/1184
The text was updated successfully, but these errors were encountered: