Created
May 9, 2014 13:54
-
-
Save taf2/785b1a8d53ae4a041963 to your computer and use it in GitHub Desktop.
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
# query.count # rails 4.1 -> select count(distinct(texts.id), texts.*) from texts | |
# query.count # rails 4.0 -> select count(distinct(texts.id)) from texts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment