I find myself needing to do this all the time and have to go search for a good artcile to remember all the commands. I often go back to this article to help me remember how to do it. For the sake of brevity I am just writing down the...

When doing multiple imports and deletions of development data I got into a state where I couldn’t insert into ActiveRecord because the id was already taken.