Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Values from joined tables #11

Closed
graywh opened this issue Oct 19, 2012 · 1 comment
Closed

Values from joined tables #11

graywh opened this issue Oct 19, 2012 · 1 comment

Comments

@graywh
Copy link

graywh commented Oct 19, 2012

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': ...
@graywh
Copy link
Author

graywh commented Jun 7, 2013

Just noticed this is a duplicate of #2

@graywh graywh closed this as completed Jun 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant