diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-05-03 19:45:56 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-05-03 19:45:56 +0200 |
commit | fe9859600824268ff614cb3eb48b62c7165a1fbd (patch) | |
tree | f13f9d4aabf4b067f4ac203a9276b1b771529f44 /guides | |
parent | add9560643ef79830febf47fa1228752d1df3502 (diff) | |
parent | 2de846852a2a9e96d816e98c8e17a62eb91ea3ae (diff) | |
download | rails-fe9859600824268ff614cb3eb48b62c7165a1fbd.tar.gz rails-fe9859600824268ff614cb3eb48b62c7165a1fbd.tar.bz2 rails-fe9859600824268ff614cb3eb48b62c7165a1fbd.zip |
Merge pull request #14940 from arunagw/hbakhtiyor-test-db-namespaces-ar
Reorganize ActiveRecord's rake tasks
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/contributing_to_ruby_on_rails.md | 8 | ||||
-rw-r--r-- | guides/source/development_dependencies_install.md | 4 |
2 files changed, 6 insertions, 6 deletions
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 |