You could also use something like:
```ruby
column_names_with_alias.each_with_object({}) do |(cn, an), hash|
  hash[cn]= row[an]
end
```
which is more idiomatic but avoids the array allocations.