In this post, I’m going to cover exporting to csv in Rails 5, but with the added complexity of exporting a Parent and Child relationship.