From 2de846852a2a9e96d816e98c8e17a62eb91ea3ae Mon Sep 17 00:00:00 2001 From: Arun Agrawal Date: Sat, 3 May 2014 19:34:18 +0200 Subject: Reorganize ActiveRecord tasks [Arun Agrawal & Abd ar-Rahman Hamidi] --- guides/source/contributing_to_ruby_on_rails.md | 8 ++++---- guides/source/development_dependencies_install.md | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'guides') diff --git a/guides/source/contributing_to_ruby_on_rails.md b/guides/source/contributing_to_ruby_on_rails.md index edcf8fa998..342ac7794c 100644 --- a/guides/source/contributing_to_ruby_on_rails.md +++ b/guides/source/contributing_to_ruby_on_rails.md @@ -265,15 +265,15 @@ This is how you run the Active Record test suite only for SQLite3: ```bash $ cd activerecord -$ bundle exec rake test_sqlite3 +$ bundle exec rake test:db:sqlite3 ``` You can now run the tests as you did for `sqlite3`. The tasks are respectively ```bash -test_mysql -test_mysql2 -test_postgresql +test:db:mysql +test:db:mysql2 +test:db:postgresql ``` Finally, diff --git a/guides/source/development_dependencies_install.md b/guides/source/development_dependencies_install.md index b0e070120d..ab89bc04a6 100644 --- a/guides/source/development_dependencies_install.md +++ b/guides/source/development_dependencies_install.md @@ -249,7 +249,7 @@ and create the test databases: ```bash $ cd activerecord -$ bundle exec rake mysql:build_databases +$ bundle exec rake mysql:db:build ``` PostgreSQL's authentication works differently. A simple way to set up the development environment for example is to run with your development account @@ -267,7 +267,7 @@ and then create the test databases with ```bash $ cd activerecord -$ bundle exec rake postgresql:build_databases +$ bundle exec rake postgresql:db:build ``` It is possible to build databases for both PostgreSQL and MySQL with -- cgit v1.2.3