From: Eero Saynatkari Date: 2011-01-25T01:50:06+09:00 Subject: [ruby-core:34837] Re: [Ruby 1.8-Feature#4239] Let's begin a talk for "1.8.8" -- How's needed for surviving 1.8? On 2011-01-24, at 18:19:02, Zeno Davatz wrote: > Issue #4239 has been updated by Zeno Davatz. > > > Ok, the dbi gem does have some hickups to solve in Ruby 1.9.2 The DBI gem is deprecated (as you can see on rubygems.org), and succeeded by rdbi. You should use that if possible, there shouldn't be much modification needed. I'm not sure where the problem is with the two specific points, but: > 1. Hash iteration breaks in Ruby 1.9.2 1.9.2 Hash is ordered but for portability you could do a hash.keys.sort.each {|e| � } if you need to rely on the keys having a specific ordering. > 2. Force the Array - works for Ruby 1.9.1 and Ruby 1.9.2 Array#push appends the given object to the end of the Array, so it doesn't do anything special with #to_a objects (since you might want to actually store those). E -- Sent from my rotary phone using an enormous number of revolutions.