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
When I move_to_trash a notification, and then mark_as_deleted it, it still exists in the database, but is_deleted? method shows it is deleted. I would like to know should I worry about this? Does Mailboxer removes it from database later?
The text was updated successfully, but these errors were encountered:
From what I have seen, the notification is never deleted from the database (I don't think this would be suitable, since the notification is "shared" between multiple users).
move_to_trash - only sets the flag trashed to true for the current user. mark_as_deleted - only sets the flag deleted to true for the current user.
When I
move_to_trash
a notification, and thenmark_as_deleted
it, it still exists in the database, butis_deleted?
method shows it is deleted. I would like to know should I worry about this? DoesMailboxer
removes it from database later?The text was updated successfully, but these errors were encountered: