On 9/6/06, Gavin Kistner <gavin.kistner / anark.com> wrote: > I just upgraded to 1.8.5 and all templates using #find broke. After a > bit of sleuthing, it looks like REXML changed the Document#root method > in a way that caused it to call Elements#[], and that method uses > @element.find, mixed in from Enumerable. My Element#find was overriding > Enumerable#find, and all hell broke loose as a result. > > Moral of the story (pick one or more): > [ ] Don't extend someone else's class with common method names > [ ] Don't upgrade your Ruby environment unless you need to [ ] Keep a set of tests and make sure they still pass after a system update :-)