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
Book.transaction do
Book.mark_as_read! :all, for: user
Book.unread_by(user)
end
would still return unread books from before the transaction. I understand that this could be by design, but perhaps there could be instance variables set above the persistence level to provide support for this scenario?
The text was updated successfully, but these errors were encountered:
When inside a transaction, say:
would still return unread books from before the transaction. I understand that this could be by design, but perhaps there could be instance variables set above the persistence level to provide support for this scenario?
The text was updated successfully, but these errors were encountered: