I have an array of hashes with arrays that look something like this:
result = [ {\"id_t\"=>[\"1\"], \"transcript_t\"=>[\"I am a transcript ONE\"]},
Try this
result.inject({}){|acc, hash| acc[hash.values[0][0]] = hash.values[1][0]; acc } => { "1"=>"I am a transcript ONE", "2"=>"I am a transcript TWO", "3"=>"I am a transcript THREE" }