Lighthouse has a new layout.
Prefer the old one? Return to the old layout,
and switch back any time from the link at the top of each page.
This project is archived and is in readonly mode.
validate_uniqueness_of and case insensitive columns ...
#1759
As far as I've seen, the case_sensitive_equality_operator is in
rails 2.2 bound to the connection adapter. But why is the more
expensive case insensitve case not handled in a connection adapter
bound way? On mysql an complete table-scan will run if someone
compares by using lower() = . The result would be the same, if not
using lower... in my freezed checkout of rails 1.x there was a
comment, that this is anyway only needed by sqlite.. so why don't
write a adapter specific method here as well? I had a lot of
trouble on my project, searching for the bottleneck, until I found
this out...