Created
June 7, 2019 19:23
-
-
Save peterdenham/98e69dc72c3e6f66558e8ed554077cd1 to your computer and use it in GitHub Desktop.
Join on active record models
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
Quota.select('quota.*, reports.name').joins(:report) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment