diff options
author | Manfred Stienstra <manfred@fngtps.com> | 2008-09-21 18:01:15 +0200 |
---|---|---|
committer | Manfred Stienstra <manfred@fngtps.com> | 2008-09-21 18:01:15 +0200 |
commit | 1585a7ed0228c2d4688e986c24fc221a4a9e5104 (patch) | |
tree | 0448ab033610865fc3d957b589dd9903e3dae413 /activerecord/lib | |
parent | 00a428655149c349d29b9351dbc345a3b8025a58 (diff) | |
download | rails-1585a7ed0228c2d4688e986c24fc221a4a9e5104.tar.gz rails-1585a7ed0228c2d4688e986c24fc221a4a9e5104.tar.bz2 rails-1585a7ed0228c2d4688e986c24fc221a4a9e5104.zip |
Change all calls to String#chars to String#mb_chars.
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/validations.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/validations.rb b/activerecord/lib/active_record/validations.rb index 518b59e433..684fb1de88 100644 --- a/activerecord/lib/active_record/validations.rb +++ b/activerecord/lib/active_record/validations.rb @@ -678,7 +678,7 @@ module ActiveRecord condition_params = [value] else condition_sql = "LOWER(#{sql_attribute}) #{comparison_operator}" - condition_params = [value.chars.downcase] + condition_params = [value.mb_chars.downcase] end if scope = configuration[:scope] |