aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing.rb
diff options
context:
space:
mode:
authorRaimonds Simanovskis <raimonds.simanovskis@gmail.com>2011-04-25 22:09:48 +0300
committerRaimonds Simanovskis <raimonds.simanovskis@gmail.com>2011-04-25 22:17:18 +0300
commit070c9984a50a5d715a8d2cd3847ae4b603a10d19 (patch)
tree06b7f95a1e774383cd5f07e4cf64e081b036573a /actionpack/lib/action_dispatch/routing.rb
parent12427c8dea1e817d7badc06f1f21af989c0f56ea (diff)
downloadrails-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 'actionpack/lib/action_dispatch/routing.rb')
0 files changed, 0 insertions, 0 deletions