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
This caught my eye since for filtering I rely on the draft_id as it is much more performant querying the database directly.
However I noticed the draft_id attribute still contains the old id of the draft which was destroyed. A simple object.draft.destroy causes this behaviour.
It would be nicer if the draft_id was nilled like any other active record object.
The text was updated successfully, but these errors were encountered:
This caught my eye since for filtering I rely on the draft_id as it is much more performant querying the database directly.
However I noticed the
draft_id
attribute still contains the old id of the draft which was destroyed. A simpleobject.draft.destroy
causes this behaviour.It would be nicer if the draft_id was nilled like any other active record object.
The text was updated successfully, but these errors were encountered: