title: How to execute a raw update sql with dynamic binding in rails
body: <p>I want to execute one update raw sql like below:</p>
  
  <pre><code>update table set f1=? where f2=? and f3=?
  </code></pre>
  
  <p>This SQL will be executed by <code>ActiveRecord::Base.connection.execute</code>, but I don't know how to pass the dynamic parameter values into the method.</p>
  
  <p>Could someone give me any help on it? </p>