Covering how to make data imports with Active Record fast: https://greg.molnar.io/blog/rails-tricks-issue-16/