Active Scaffold Filtered Export

I'm new to Rails, and I'm not sure how I can pass the results of a
filtered list to my export. I'm filtering using several user-selected
criteria run through a conditions_for_collection. Then I'm using a
config.actions_link.add to link to an Export function.

How can I export just my filtered list?