Last active
December 3, 2018 02:42
-
-
Save m-nakamura145/c5684e55b0da3e1fd6df41d9127bd879 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
Restaurant.exists?('hoge') | |
# => Restaurant Exists (4.5ms) SELECT 1 AS one FROM `restaurants` WHERE `restaurants`.`id` = 0 LIMIT 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment