baby_squeel
baby_squeel copied to clipboard
Implement `selecting { table.* }`
Post.joins(:author).selecting { [post.id, author.*] }
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.
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]