Do you use methods from AR::Dirty (e.g. `changed?`) in after_(create|update|save) callbacks?
Dirty is structured as a singly linked list of every known state in 5.0 so we can actually do some interesting things now.
-
-
I just assumed it was a hash (or custom equivalent) with the attributes that have been set between fetching and saving the record.
-
Mutation is a thing in Ruby.
End of conversation
New conversation -
-
-
is it common for apps to have multi stage undo, or is it a linked list for another reason?
-
Public API represents at least one snapshot back. Having further is useful for restoring state after transaction revert
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.