If you do string.last or string.first it fails in access.rb line 43 I
found the answer on another mailing list.
Ruby 1.8.7 has String#chars.
It returns an Enumerator object
but Rails 2.0.2 expects an ActiveSupport::Multibyte::Chars object.
You can avoid this conflict by putting
the following code in config/initializers/ directory.