title: Possible to re-order randomized/non-sequential ActiveRecord ID values from test data in rails?
body: <p>I created an initial data set for an app using test data, which used randomized ActiveRecord IDs. </p>
  
  <p>Is there a cookbook recipe for a good clean rails way to condense and serialize these starting with 0? Maybe pure SQL would be faster than ActiveRecord?</p>
  
  <p>I will also have to correct association ids. Rails 3.2.11, postgresql</p>