Last active
December 2, 2019 14:45
-
-
Save dteoh/dffe0176009c05a0c917 to your computer and use it in GitHub Desktop.
Select all columns of an Arel table
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
users = User.arel_table | |
query = users.project(users[Arel.star]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment