6 lines
160 B
Ruby
6 lines
160 B
Ruby
|
# 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
|