Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make case insensitive validates_uniqueness_of use unicode aware downc…
…ase method. [#932 state:resolved] Signed-off-by: Michael Koziarski <michael@koziarski.com> Conflicts: activerecord/lib/active_record/validations.rb Signed-off-by: Tarmo Tänav <tarmo@itech.ee>
- Loading branch information
Showing
2 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
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
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
184ae2c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Sad it was not there.
So you happen to speak russian? :)
184ae2c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not at all, here’s hoping it doesn’t say rails sucks or something…
184ae2c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well according to Dashboard Translate widget it says “4 the also UNIQUE”
“Rails sucks” would be “Рельсы всасывают” apparently :P
184ae2c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@NZKoz it says “I am UNIQUE as well!”