This project is archived and is in readonly mode.
ActiveSupport::OrderedHash#to_a For Ruby1.9 Compatibility
Reported by Ken Collins | May 9th, 2009 @ 11:43 PM | in 2.x
Simple bug I noticed while upgrading my app to 1.9 and rails 2.3.2. The ActiveSupport::OrderedHash needs a logical #to_a method so that it creates a set of 2D arrays like ruby's 1.9 Hash would.
The test in places passes under both 1.9 and 1.8.7
Comments and changes to this ticket
-
Repository May 10th, 2009 @ 02:06 AM
- State changed from new to committed
(from [6dec3c45fcf9afbd3da30afb354433fcc54155d6]) ActiveSupport::OrderedHash#to_a method returns an ordered set of arrays. Matches ruby1.9's Hash#to_a.
Signed-off-by: Michael Koziarski michael@koziarski.com [#2629 state:committed] http://github.com/rails/rails/co...
-
Repository May 10th, 2009 @ 02:06 AM
(from [9e0cfdb7f951c0446cdfd3b2cc26443712fe657a]) ActiveSupport::OrderedHash#to_a method returns an ordered set of arrays. Matches ruby1.9's Hash#to_a.
Signed-off-by: Michael Koziarski michael@koziarski.com [#2629 state:committed] http://github.com/rails/rails/co...
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
- 2629 ActiveSupport::OrderedHash#to_a For Ruby1.9 Compatibility Signed-off-by: Michael Koziarski michael@koziarski.com [#...
- 2629 ActiveSupport::OrderedHash#to_a For Ruby1.9 Compatibility Signed-off-by: Michael Koziarski michael@koziarski.com [#...