This project is archived and is in readonly mode.
[BUG] [PATCH] ActiveSupport::Multibyte::Chars concatenation with #+ (plus) method should not alter the original
Reported by James MacAulay | May 18th, 2010 @ 08:30 PM | in 3.0.2
This is the current implementation of AS::MB::Chars#+ :
def +(other)
self << other
end
But + concatenation should not alter the original like << does.
Comments and changes to this ticket
-
James MacAulay May 18th, 2010 @ 08:33 PM
- Tag changed from bug patch to bug, patch
-
James MacAulay May 18th, 2010 @ 08:35 PM
- Title changed from [BUG] ActiveSupport::Multibyte::Chars concatenation with #+ (plus) method should not alter the original to [BUG] [PATCH] ActiveSupport::Multibyte::Chars concatenation with #+ (plus) method should not alter the original
Tested and fixed.
-
Yaroslav Markin May 18th, 2010 @ 10:34 PM
- Tag changed from bug, patch to activesupport, bug, multibyte, patch
- Assigned user set to Manfred Stienstra
Seems like a good one to me, +1
-
Rizwan Reza May 21st, 2010 @ 12:45 AM
- no changes were found...
-
Manfred Stienstra May 21st, 2010 @ 07:20 AM
- Assigned user changed from Manfred Stienstra to Michael Koziarski
Looks ok to me
-
Norman Clarke June 30th, 2010 @ 01:30 AM
- Tag changed from activesupport, bug, multibyte, patch to activesupport, bug, multibyte, patch, verified
- Importance changed from to Medium
Looks like this one doesn't apply any more. Here's an updated patch which applies against the current Rails master.
-
Santiago Pastorino June 30th, 2010 @ 02:14 AM
- Assigned user changed from Michael Koziarski to José Valim
- State changed from new to open
- Milestone cleared.
-
Repository June 30th, 2010 @ 12:23 PM
- State changed from open to resolved
(from [16cef77d37ffe3e2cdc6f7db76b4ae59ce4cbc5b]) Fix AS::MB::Chars#+ to not alter self [#4646 state:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/16cef77d37ffe3e2cdc6f7db76b4ae...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Referenced by
- 4646 [BUG] [PATCH] ActiveSupport::Multibyte::Chars concatenation with #+ (plus) method should not alter the original (from [16cef77d37ffe3e2cdc6f7db76b4ae59ce4cbc5b]) Fix AS:...