ernie/valium

Values from joined tables

Closed this issue · 1 comments

It would be nice if it could grab fields from joined tables, too.

Child.joins(:parent).values_of('parents.name','children.name')
Mysql2::Error: Unknown column 'children.parents.name' in 'field list': ...

Just noticed this is a duplicate of #2