CanCan default caching of current_ability is broken
CanCan default caching of current_ability is broken

if it’s called too early (I think from logging in this case)
then it will cache the ability for nil instead of current_user

ahmadassaf/open-data-certificate,Motejl/open-data-certificate,zoul/open-data-certificate,zoul/open-data-certificate,zoul/open-data-certificate,ahmadassaf/open-data-certificate,istvan-antal/open-data-certificate,ahmadassaf/open-data-certificate,Motejl/open-data-certificate,theodi/open-data-certificate,Motejl/open-data-certificate,theodi/open-data-certificate,theodi/open-data-certificate,theodi/open-data-certificate,istvan-antal/open-data-certificate,Motejl/open-data-certificate,istvan-antal/open-data-certificate,zoul/open-data-certificate,ahmadassaf/open-data-certificate