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
We don't want stale user models being pulled from the cache. So only
save the `user_id`.
We don't want to query the database twice. So create a local variable
for the user, set it to nil, fetch from cache and only query if there
was a cache-hit (thus user is still nil).
0 commit comments