title: Insert arrays values into MySQL by gem 'mysql2'
body: <p>I'm trying to insert arrays values into MySQL.</p>
  
  <p>For example, I have three different arrays: <code>array_filename</code>, <code>array_filesize</code> and <code>array_filemd5</code>. Each one contains five values, so I need to insert each value one-by-one with something like:</p>
  
  <pre><code>query ( 'INSERT INTO info VALUES ( "array_filename_1", "array_filesize_1","array_filemd5_1")')
  </code></pre>
  
  <p>and using <code>.each</code>.</p>