title: HTTP requests in transactions?
body: <p>I have a model which sends a HTTP request to an external web service on creation in order to find out some information to add before it is saved.</p>
  
  <p>Currently I'm doing this in a <code>before_create</code> callback. I recently learned that before/after callbacks <a href="http://api.rubyonrails.org/classes/ActiveRecord/Callbacks.html#label-Transactions" rel="noreferrer">happen within database transactions</a>.</p>
  
  <p>Am I opening myself up to any issues such as limiting DB throughput by doing this? Would it be better to commit the record before sending the http request and then update the record when it returns?</p>