I'm populating my PostgreSQL using a Ruby on Rails rake task. I'd like to use a PostgreSQL array function (specifically, text_to_array) on every cell in my data table. How do I do so? Can I do so within the rake task?
See related: Rails - import CSV entry as array in PostgreSQL