title: ActiveAdmin: How to have a specific set of resources while downloading them all in CSV format?
body: <p>AcitveAdmin provides a link at the bottom of the index page to download all resources in multiple formats, and one of the formats is CSV. It is gonna take all the resources, put them in a CSV file, and give that back to us. In my situation, I have a condition that there are certain resources that can be downloaded via CSV, like:</p>
  
  <pre><code>User.downloadables
  </code></pre>
  
  <p>But I'm unable to figure it out how to give this set instead of <code>User.all</code> to CSV format?</p>
  
  <p>I have looked into documentation, and it doesn't say much except changing the layout of a CSV file.</p>