I've never used the :transform option. I think the proper way to access
a column would be:
other_table_rec['col']
I think :transform will only work at the same level of include after all
the data has been collected. Not sure it makes sense on individual
associations. So it should be more like:
So: SomeTable.report_table(:all, :include => {other: => ...}, :transform
=> lambda {|tb| tb['other.col_a'] = ...})
Alternatively you can simply generate the table and use the table
methods to manipulate the data.
Hope that helps,
Andrew