Skip to content
Search Gists
Search Gists
All gists
Back to GitHub
Sign in
Sign up
Sign in
Sign up
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
phlegx
/
Rails 4 - how to give alias names to includes() and joins() in active record quering
Last active
May 8, 2025 17:02
Show Gist options
Download ZIP
Star
22
(
22
)
You must be signed in to star a gist
Fork
8
(
8
)
You must be signed in to fork a gist
Embed
Embed
Embed this gist in your website.
Share
Copy sharable link for this gist.
Clone via HTTPS
Clone using the web URL.
Learn more about clone URLs
Clone this repository at <script src="https://gist.github.com/phlegx/add77d24ebc57f211e8b.js"></script>
Save phlegx/add77d24ebc57f211e8b to your computer and use it in GitHub Desktop.
Code
Revisions
43
Stars
22
Forks
8
Embed
Embed
Embed this gist in your website.
Share
Copy sharable link for this gist.
Clone via HTTPS
Clone using the web URL.
Learn more about clone URLs
Clone this repository at <script src="https://gist.github.com/phlegx/add77d24ebc57f211e8b.js"></script>
Save phlegx/add77d24ebc57f211e8b to your computer and use it in GitHub Desktop.
Download ZIP
Forks
All
8
graysonchen
(Grayson Chen)
View fork
lareb
(Lareb Nawab)
View fork
sahidursuman
(Sahidur Rahman Suman)
View fork
gingerhot
(B1nj0y)
View fork
getaclue00
(Alex)
View fork
bobzhen
(Hongbo Zhen)
View fork
mguinada
(Miguel Guinada)
View fork
mattlong
(Matt Long)
View fork
You can’t perform that action at this time.