Hey HN,<p>I've been digging into the faker gem this week, and database seeding in Ruby on Rails apps more generally.
By default Rails seeds our database very inefficiently (an INSERT for each record), so we use activerecord-import to fix that.<p>This blog post covers the main things I learnt — seeding with the faker gem, speeding up seeding with activerecord-import, plus splitting our seeds by environment.<p>Happy to answer questions! Thanks, Harrison