From: "David A. Black" Date: 2009-08-23T21:40:43+09:00 Subject: Re: [array & regexp] Development - works, production not - why? Hi -- On Sun, 23 Aug 2009, Joao Silva wrote: > Ok, here is my test.rb: > Regexp.union(buffer.uniq) Try changing that to: Regexp.union(*buffer.uniq) I guess 1.8.7 changed the method so that it's more tolerant of being sent an actual array, as opposed to a bare list of strings. David -- David A. Black / Ruby Power and Light, LLC / http://www.rubypal.com Q: What's the best way to get a really solid knowledge of Ruby? A: Come to our Ruby training in Edison, New Jersey, September 14-17! Instructors: David A. Black and Erik Kastner More info and registration: http://rubyurl.com/vmzN