Last active
December 23, 2015 22:39
-
-
Save hoffm/6704956 to your computer and use it in GitHub Desktop.
An important identity for users of ActiveRecord (and SQL) to keep in mind.
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
Model.find(1,2) == Model.find(2,1) | |
=> true | |
Model.find(1,2) == Model.find(2,1).reverse | |
=> false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment