Dan Kubb (dkubb)
Software Developer · Not a member
Dan Kubb (dkubb)'s latest activity
Tuesday, March 16 2010
-
Dan Kubb (dkubb) commented at 10:42 PMFWIW, I've found it possible to do a stable topological sort using tsort by yielding to the nodes in the order they were added. So if two nodes are equivalent, ...
Tuesday, January 26 2010
3608
OrderedHash serialization doesn't work in AR
was updated
in Ruby on Rails
-
Dan Kubb (dkubb) commented at 6:12 PMAnother consideration that I had is should we make it so that this works the same between Ruby 1.8 and 1.9? (sorry for the extra post, I can't edit the comment ...
-
Dan Kubb (dkubb) commented at 6:07 PMI should also note that the YAML spec has defined an ordered map type that may fit this use case more closely. It's defined as an "Ordered sequence of key:value...
-
Dan Kubb (dkubb) commented at 6:45 AMBased on Gregor's test case reduction, it looks like YAML.load is creating the OrderedHash object without calling #initialize (or for that matter the allocate o...