title: Rails 3 ActiveRecord Nested Transactions With Multiple Databases
body: <p>According to the rails documentation nested transactions involving multiple databases should work:</p>
  
  <pre><code>User.transaction do
    User.create(:username =&gt; 'Kotori')
    User.transaction(:requires_new =&gt; true) do
      User.create(:username =&gt; 'Nemu')
      raise ActiveRecord::Rollback
    end
  end
  </code></pre>
  
  <p>How would you go about having a rollback in the nested transaction propagated so that the parent transaction also rolls back?</p>
  
  <p>Thanks</p>