title: Proc in rails with INOUT
body: <p>Mysql2::Error: OUT or INOUT argument 3 for routine database_name.proc_name is not a variable or NEW pseudo-variable in BEFORE trigger</p>
  
  <p>So, I'm calling a proc basically by just doing </p>
  
  <pre><code>connection = Mysql2::Client.new(config)
  result = connection.query('call proc_name(1, 2, 3, 4, 5)')
  </code></pre>
  
  <p>The proc has 5 arguments, the first 2 are IN and the last 3 are INOUT.  Now, I think it's complaining because it wants the INOUT's to be variables it can assign to /change the value of.</p>
  
  <p>So, since my connection.query is calling a string (that get's sanitized beforehand), is there a different method to call the proc, so that the INOUT's will work? </p>