I just finished sleuthing a problem where DM 0.10.2 didn't work quite
right on nested associations, and it boiled down to LazyArray's map
getting inherited from Array instead of Enumerable, and the guilty
party was a bundled DM 0.9.14 gem that was not equal to the current DM
0.9.14 gem.  Dunno where we got that bad gem from, or if we
monkey-patched it and rebuilt it ourselves months ago when going to
Merb 1.1 or DM 0.10.

Anyway, surprising how fragile DM's Collection is (when LazyArray
inherits map from Array, Collection's each is not called, whereas it
is when LazyArray inherits map from Enumerable), and how painful the
bug was to sleuth (i suppose i didn't have much better to do while
trying to get over a bad cold)

Hope no one else has to go through this.

-Gary

--

You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/merb?hl=en.


Reply via email to