title: Caching in rails for the duration of a request
body: <p>I've got a situation where I'd like to cache information from a static method, because the it's called many times.</p>
  <ul>
  <li><p>The information is only valid for the duration of the request, so I don't want to use Rails cache. (it's set to Redis which does more permanent caching)</p>
  </li>
  <li><p>I also can't easily bubble this up to any other reasonable owner. (there isn't one, this is a cross-cutting concern situation)</p>
  </li>
  </ul>
  <p>The only way I can think of is using a <code>RequestStore</code>, but it seems like a pretty low-level solution. Is there anything else I can use here that's more integrated at Rails level?</p>