I\'m in the process of upgrading an application to Rails 3. I\'ve decided to go with the mysql2 gem. There\'s some legacy code in the app that makes calls like:
results = ActiveRecord::Base.connection.select(sql)
results.first.keys.each do |key| key end
results.each do |result| %> result.values.each do |value| %> value end end