diff options
author | Arun Agrawal <arunagw@gmail.com> | 2014-05-03 20:15:11 +0200 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2014-05-16 23:09:05 +0200 |
commit | da4d841e16cbcb3316ba56a5802a71e4fc07bb6f (patch) | |
tree | 444686f16b0d2546011e4aa3458bf5fe39a2629a /guides/source | |
parent | 9c4d31f601e692e27ce039492e5617f57177a844 (diff) | |
download | rails-da4d841e16cbcb3316ba56a5802a71e4fc07bb6f.tar.gz rails-da4d841e16cbcb3316ba56a5802a71e4fc07bb6f.tar.bz2 rails-da4d841e16cbcb3316ba56a5802a71e4fc07bb6f.zip |
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 |