Refactor seeds.rb to not repeat splitting lines