Skip to content

Instantly share code, notes, and snippets.

@queso
Created March 27, 2010 04:29
Show Gist options
  • Save queso/345722 to your computer and use it in GitHub Desktop.
Save queso/345722 to your computer and use it in GitHub Desktop.
puts "Loading regular seeds"
Dir[Rails.root.join("db/seed", "*.{yml,csv}")].each do |file|
Fixtures.create_fixtures("db/seed", File.basename(file, '.*'))
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment