How to check if a rails session is loaded?

I want to check if the rails session is loaded. If I trace the session, I get the following:

Session: #<Rack::Session::Abstract::SessionHash:0x8e3e not yet loaded> 
+6
source share
1 answer

session.loaded? does the trick.

+2
source

Source: https://habr.com/ru/post/914117/


All Articles