This project is archived and is in readonly mode.
[PATCH] Fix ActiveSupport::Multibyte::Chars#slice for empty strings when starting offset is negative
-
ronin-56076 (at lighthouseapp)
- Tag changed from patch to activesupport, chars, multibyte, patch
-
Norman Clarke
- Tag changed from activesupport, chars, multibyte, patch to activesupport, chars, multibyte, patch, verified
- Assigned user set to José Valim
This no longer applies to Rails master after recent changes; here's an updated patch that now applies.
+1 on this, it's a simple change that makes the behavior of the proxy class match Ruby's String#slice.
-
Repository
- State changed from new to resolved
(from [265b7c5edfe9b60d1ab547bfef569d94df05b8e9]) Fix ActiveSupport::Multibyte::Chars#slice for empty strings when starting offset is negative [#4717 [PATCH] Fix ActiveSupport::Multibyte::Chars#slice for empty strings when star... state:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/265b7c5edfe9b60d1ab547bfef569d...
