diff options
author | Raimonds Simanovskis <raimonds.simanovskis@gmail.com> | 2011-04-25 22:09:48 +0300 |
---|---|---|
committer | Raimonds Simanovskis <raimonds.simanovskis@gmail.com> | 2011-04-25 22:17:18 +0300 |
commit | 070c9984a50a5d715a8d2cd3847ae4b603a10d19 (patch) | |
tree | 06b7f95a1e774383cd5f07e4cf64e081b036573a /activeresource/Rakefile | |
parent | 12427c8dea1e817d7badc06f1f21af989c0f56ea (diff) | |
download | rails-070c9984a50a5d715a8d2cd3847ae4b603a10d19.tar.gz rails-070c9984a50a5d715a8d2cd3847ae4b603a10d19.tar.bz2 rails-070c9984a50a5d715a8d2cd3847ae4b603a10d19.zip |
Do not use SQL LIKE operator for case insensitive uniqueness validation
It can result in wrong results if values contain special % or _ characters. It is safer to use SQL LOWER function and compare for equality.
Diffstat (limited to 'activeresource/Rakefile')
0 files changed, 0 insertions, 0 deletions