I can't figure out how to get the session timeout in Rails (either default or configured); here it is written how to set it, but how to get it doesn't.
I tried:
Some::Application.config.session_store: returns a classapp.controller.session.timeout, ...expires_at: doesn't workI know this question is old, but I'll leave this here for future weary travelers:
To get options defined from
Rails.application.config.session_store ....
You can do
Rails.application.config.session_options
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With