title: Rails reset ALL Postgres sequences?
body: <p>The following works in the Rails 3 console to reset Postgres sequences:</p>
  
  <pre><code>ActiveRecord::Base.connection.reset_pk_sequence!('menucontrols')
  ActiveRecord::Base.connection.reset_pk_sequence!('statuscodes')
  ActiveRecord::Base.connection.reset_pk_sequence!('wostatuses')
  ActiveRecord::Base.connection.reset_pk_sequence!('taskstatuses')
  ActiveRecord::Base.connection.reset_pk_sequence!('priorities')
  ActiveRecord::Base.connection.reset_pk_sequence!('actcodes')
  </code></pre>
  
  <p>Is there a command that would reset ALL of them instead of having to do each one individually?</p>
  
  <p>Thanks for the help!</p>