opf/openproject — pull request #1953 by marutosi (2014-09-25 04:20:36+00:00)
Title: remove unneeded String#mb_chars from SearchHelper

Test fails randomly.

1) Error:
SearchHelperTest#test_highlight_multibyte:
ArgumentError: invalid byte sequence in UTF-8
app/helpers/search_helper.rb:36:in `block in highlight_tokens'
app/helpers/search_helper.rb:26:in `each'
app/helpers/search_helper.rb:26:in `each_with_index'
app/helpers/search_helper.rb:26:in `highlight_tokens'
test/unit/helpers/search_helper_test.rb:46:in `test_highlight_multibyte'

String#mb_chars is for Ruby 1.8 compatibility.
Rails4 dropped Ruby 1.8 support.

--HG--
branch : ../sandbox/rails-4.1
extra : convert_revision : svn%3Ae93f8b46-1217-0410-a6f0-8f06a7374b81/sandbox/rails-4.1%4013414