Given array:
a = [[111,"Tue, 30 Jun 2015 23:50:55 KST +09:00"],[123,"Tue, 30 Jun 2015 23:50:55 KST +09:00"]]
And I want to convert this array to a new CSV file WITH NEW COLUMNS which would look like:
user_id | created_at
--------------------
111 | Tue, 30 Jun 2015 23:50:55 KST +09:00
123 | Tue, 30 Jun 2015 23:50:55 KST +09:00
How can I do this in Ruby? Thanks in advance.