I am looking to export an array from my heroku console into a local CSV file.
In my current situation, I have a daily rake task which looks for tweets talking about my a
I'd use Taps to export the db to your local machine, then operate on it there: https://devcenter.heroku.com/articles/taps