diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-05-19 09:34:43 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-05-19 09:34:43 +0200 |
commit | c6ee495e2ed2bffde4bee1fa658c8834dd0bcd35 (patch) | |
tree | 0159cc0b86eba46e25068e45d098a49055068ddf /guides/source | |
parent | e153fbfe636459a3246f0dfa5fff84157827ca21 (diff) | |
parent | da4d841e16cbcb3316ba56a5802a71e4fc07bb6f (diff) | |
download | rails-c6ee495e2ed2bffde4bee1fa658c8834dd0bcd35.tar.gz rails-c6ee495e2ed2bffde4bee1fa658c8834dd0bcd35.tar.bz2 rails-c6ee495e2ed2bffde4bee1fa658c8834dd0bcd35.zip |
Merge pull request #14962 from arunagw/aa-fix-rake-activerecord
Reorganize ActiveRecord tasks [Arun Agrawal & Abd ar-Rahman Hamidi]
Diffstat (limited to 'guides/source')
-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 57010b85c3..ef4633ac1a 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:sqlite3 ``` You can now run the tests as you did for `sqlite3`. The tasks are respectively ```bash -test_mysql -test_mysql2 -test_postgresql +test:mysql +test:mysql2 +test:postgresql ``` Finally, diff --git a/guides/source/development_dependencies_install.md b/guides/source/development_dependencies_install.md index b0e070120d..b134c9d2d0 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 db:mysql: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 db:postgresql:build ``` It is possible to build databases for both PostgreSQL and MySQL with |