https://hackershare.dev/en/bookmarks/268607
INSERTing 50,000 records into a database in ActiveRecord, Arel, SQL, activerecord-import and Sequel.