title: Rails: get session timeout
body: <p>I can't figure out how to get the session timeout in Rails (either default or configured); <a href="https://stackoverflow.com/questions/5860950/setting-session-timeout-in-rails-3">here</a> it is written how to set it, but how to get it doesn't.</p>
  
  <p>I tried:</p>
  
  <ul>
  <li><code>Some::Application.config.session_store</code>: returns a class</li>
  <li><code>app.controller.session.timeout</code>, <code>...expires_at</code>: doesn't work</li>
  <li>docs: no clues</li>
  </ul>