title: How do you talk SQL directly to MySQL from Ruby?
body: <p>I want to write a script in Ruby to clean up some messed up keys in several copies of the same MySQL schema. I'd like to do something like SHOW CREATE TABLE, then look at what comes back and delete keys if they exist.</p>
  
  <p>I know in the Rails environment you can do this...</p>
  
  <pre><code>ActiveRecord::Base.connection.execute( some sql )
  </code></pre>
  
  <p>But what you get back is a "Result" object. For this task I need a String so I can analyze it and act accordingly.</p>