title: Need to store query result instead of storing query in ActiveRecord
body: <p>I am having following function to find some of the selected records from public pages.</p>
  
  <pre><code>    def find_public_page(title)
        @footer_public_pages ||= PublicPage.where(title: %w(welcome_to_toylist terms_of_services buying_a_toy selling_a_toy requesting_a_toy ad_guildelines))
        @footer_public_pages.find_by(title: title)
      end
  </code></pre>
  
  <p>what I need is that @footer_public_pages should store the result set in first time and then on next time it will directly hit the find_by query instead of firing two queries.</p>
  
  <p>Any help would be appreciated.</p>