aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/Rakefile
diff options
context:
space:
mode:
authorRanjay Krishna <rak248@cornell.edu>2013-01-20 09:48:55 -0800
committerRanjay Krishna <rak248@cornell.edu>2013-01-20 09:48:55 -0800
commite470ebfe4f648984eb0e638a75ea8334ffd70a25 (patch)
treec3d6a6305f490c8ebc0e36ca27c59d767c61f5a1 /activerecord/Rakefile
parent9f789364b2921f7ec1bd7887d6fb9e0d216a8792 (diff)
downloadrails-e470ebfe4f648984eb0e638a75ea8334ffd70a25.tar.gz
rails-e470ebfe4f648984eb0e638a75ea8334ffd70a25.tar.bz2
rails-e470ebfe4f648984eb0e638a75ea8334ffd70a25.zip
removed the puts statement and simplified the execute statement
Diffstat (limited to 'activerecord/Rakefile')
-rw-r--r--activerecord/Rakefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/activerecord/Rakefile b/activerecord/Rakefile
index 55e3f7d83d..0702063c60 100644
--- a/activerecord/Rakefile
+++ b/activerecord/Rakefile
@@ -40,12 +40,7 @@ namespace :test do
end
namespace :db do
- task :create do
- puts "*** creating mysql databases now ***"
- Rake::Task['mysql:build_databases'].execute
- puts "*** creating postgresql databases now ***"
- Rake::Task['postgresql:build_databases'].execute
- end
+ task :create => ['mysql:build_databases', 'postgresql:build_databases']
end
%w( mysql mysql2 postgresql sqlite3 sqlite3_mem firebird db2 oracle sybase openbase frontbase jdbcmysql jdbcpostgresql jdbcsqlite3 jdbcderby jdbch2 jdbchsqldb ).each do |adapter|