diff options
author | Erik Ostrom <erik@echographia.com> | 2009-08-09 22:14:59 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-08-09 23:30:41 -0700 |
commit | 7d16e94d827197d030fdd611db4310396aeb0114 (patch) | |
tree | 6cdade25d435e896ea030b45831f56cdd595a6c8 /railties/lib | |
parent | 3e35ba248154209d9c46e3d9fa78e98c1b5d0a96 (diff) | |
download | rails-7d16e94d827197d030fdd611db4310396aeb0114.tar.gz rails-7d16e94d827197d030fdd611db4310396aeb0114.tar.bz2 rails-7d16e94d827197d030fdd611db4310396aeb0114.zip |
Correctly handle offsets in Multibyte::Chars#index and #rindex.
The offset in codepoints was being passed directly to the wrapped string's index/rindex method. Now we translate the offset into bytes first.
[#3028 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'railties/lib')
0 files changed, 0 insertions, 0 deletions