donphan/db/seeds.rb

6 lines
111 B
Ruby

# frozen_string_literal: true
Dir[Rails.root.join('db', 'seeds', '*.rb')].sort.each do |seed|
load seed
end