wordpress-import/spec/dummy/db/seeds.rb

6 lines
160 B
Ruby
Raw Normal View History

# Refinery seeds
Dir[Rails.root.join('db', 'seeds', '*.rb').to_s].each do |file|
puts "Loading db/seeds/#{file.split(File::SEPARATOR).last}"
load(file)
end