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
You can shell out to SCP:
my_data = "hello world" File.write("tmp/data", my_data) `scp tmp/data me@some-server:`
It may prompt you about the server being unknown and ask for a password.