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

Support post-fetching associations #62

Open
abellotti opened this issue Feb 9, 2017 · 1 comment
Open

Support post-fetching associations #62

abellotti opened this issue Feb 9, 2017 · 1 comment

Comments

@abellotti
Copy link
Member

While the recommended way to get additional attributes and associations is to ask for them ahead of time, i.e.:

   miq.vms.select(:name,:vendor,:disks).where(:name => "dev*").collect(&:disks)

would be nice to be able to post-fetch these, maybe minimally associations, but there will be a performance hit though, ie.:

   miq.vms.where(:name => "dev*").collect(&:disks)
@abellotti
Copy link
Member Author

abellotti commented Apr 6, 2017

/cc @mkanoor looks like this issue was already here, I'll close the other one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants