aboutsummaryrefslogtreecommitdiffstats
path: root/railties/Rakefile
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2009-05-11 19:08:13 +0200
committerDavid Heinemeier Hansson <david@loudthinking.com>2009-05-11 19:08:13 +0200
commit4932f7b38f72104819022abca0c952ba6f9888cb (patch)
treeb8f5d82f7a00d910e6e88648cfe3cda345cd0295 /railties/Rakefile
parent2e7409f035236c719c5b1567c4bb3e65a5e543bc (diff)
downloadrails-4932f7b38f72104819022abca0c952ba6f9888cb.tar.gz
rails-4932f7b38f72104819022abca0c952ba6f9888cb.tar.bz2
rails-4932f7b38f72104819022abca0c952ba6f9888cb.zip
Added db/seeds.rb as a default file for storing seed data for the database. Can be loaded with rake db:seed (or created alongside the db with db:setup). (This is also known as the "Stop Putting Gawd Damn Seed Data In Your Migrations" feature) [DHH]
Diffstat (limited to 'railties/Rakefile')
-rw-r--r--railties/Rakefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/Rakefile b/railties/Rakefile
index 9cd102df0f..4247742664 100644
--- a/railties/Rakefile
+++ b/railties/Rakefile
@@ -200,11 +200,14 @@ task :copy_configs do
cp "configs/locales/en.yml", "#{PKG_DESTINATION}/config/locales/en.yml"
+ cp "configs/seeds.rb", "#{PKG_DESTINATION}/db/seeds.rb"
+
cp "environments/boot.rb", "#{PKG_DESTINATION}/config/boot.rb"
cp "environments/environment.rb", "#{PKG_DESTINATION}/config/environment.rb"
cp "environments/production.rb", "#{PKG_DESTINATION}/config/environments/production.rb"
cp "environments/development.rb", "#{PKG_DESTINATION}/config/environments/development.rb"
cp "environments/test.rb", "#{PKG_DESTINATION}/config/environments/test.rb"
+
end
task :copy_binfiles do