![](https://secure.gravatar.com/avatar/a9bbad514976ee13573b3f95f1086002.png?default=mp&rating=pg&size=250)
Anukrity Jain
Joined
10 Experience
0 Lessons Completed
0 Questions Solved
Activity
Posted in Exporting Records To CSV Discussion
HI. I am newbie with rails and trying to export records into a csv. I am able to do the simple download, thanks to this wonderful discussion. But my problem is that instead of all.each, I want to iterate over a subset of records. How can I achieve that? Any help would be appreciated. Thanks