title: TimeOut with transaction block rails
body: <p>As my understanding, if we have any code inside this transaction and when it happens any error with (save!, ...) in that block the entire code will revert, here the problem is if any timeout (<strong>rack timeout = 12</strong>) happens in this block.</p>
  
  <pre><code>def create
    ActiveRecord::Base.transaction do
     // timeout happens
    end
  end
  </code></pre>
  
  <p>How can we rollback a code with a transaction when a <code>Rack::Timeout</code> occurs?</p>