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 Jun 30, 2021. It is now read-only.
Dirty tracking doesn't seem to work properly in the after_recover callback:
before_recover:do_something_beforeafter_recover:do_something_afterdefdo_something_beforedeleted_at# => 2013-07-01 10:58:49enddefdo_something_afterdeleted_at# => nildeleted_at_changed?# => false, should be truedeleted_at_was?# => nil, should be 2013-07-01 10:58:49end
Is this expected behaviour? It feels like I should be able to access the old deleted_at timestamp in the after_recover callback because it is still part of the record's lifecycle.
The text was updated successfully, but these errors were encountered:
Dirty tracking doesn't seem to work properly in the after_recover callback:
Is this expected behaviour? It feels like I should be able to access the old deleted_at timestamp in the after_recover callback because it is still part of the record's lifecycle.
The text was updated successfully, but these errors were encountered: