mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
1a2bf3df0e
An equality with a string column and integer like SELECT * FROM `users` WHERE `login_token` = 0 LIMIT 1; will match match any string that doesn't start with a digit in certain databases, like mysql. Make sure we quote the integer to avoid this problem in a database independant way. |
||
---|---|---|
.. | ||
fake_record.rb |