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

Implement selecting { table.* } #70

Open
rzane opened this issue May 30, 2017 · 2 comments
Open

Implement selecting { table.* } #70

rzane opened this issue May 30, 2017 · 2 comments

Comments

@rzane
Copy link
Owner

rzane commented May 30, 2017

Post.joins(:author).selecting { [post.id, author.*] }
@octavpo
Copy link

octavpo commented Sep 11, 2017

Yes I'd very much like to see this implemented and finally be able to get rid of all the strings I have to use now. Thanks.

@rzane
Copy link
Owner Author

rzane commented Sep 11, 2017

Yeah, this is definitely going to happen. Should be pretty trivial to implement if you'd be interested in taking a stab at it.

The gist of it is:

SomeActiveRecordModel.arel_table[Arel.star]

@rzane rzane mentioned this issue Oct 31, 2017
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