diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-08-22 17:15:56 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-08-22 17:15:56 -0700 |
commit | cdef4450e550954a9f04255cb0b5cf80e52874fe (patch) | |
tree | 541268d2996d516f761e5ef9a08f7140e0285f4a /activesupport | |
parent | 8f171b4d6915109068e5e1c1aa37038b8311f15a (diff) | |
download | rails-cdef4450e550954a9f04255cb0b5cf80e52874fe.tar.gz rails-cdef4450e550954a9f04255cb0b5cf80e52874fe.tar.bz2 rails-cdef4450e550954a9f04255cb0b5cf80e52874fe.zip |
removing unused code
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/multibyte/chars.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/multibyte/chars.rb b/activesupport/lib/active_support/multibyte/chars.rb index 019fb2df06..afbdd2c272 100644 --- a/activesupport/lib/active_support/multibyte/chars.rb +++ b/activesupport/lib/active_support/multibyte/chars.rb @@ -437,7 +437,7 @@ module ActiveSupport #:nodoc: begin @wrapped_string[0...byte_offset].unpack('U*').length - rescue ArgumentError => e + rescue ArgumentError byte_offset -= 1 retry end |