From 0fd301aaf7e0f028fe8ea1c4b896191489d1fc0a Mon Sep 17 00:00:00 2001 From: Gaurish Sharma Date: Sun, 20 Apr 2014 01:39:52 +0530 Subject: Remove reference to outdated section [ci skip] --- guides/source/contributing_to_ruby_on_rails.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source') diff --git a/guides/source/contributing_to_ruby_on_rails.md b/guides/source/contributing_to_ruby_on_rails.md index 90c83a5e05..da1f305e6c 100644 --- a/guides/source/contributing_to_ruby_on_rails.md +++ b/guides/source/contributing_to_ruby_on_rails.md @@ -154,7 +154,7 @@ The easiest and recommended way to get a development environment ready to hack i #### The Hard Way -In case you can't use the Rails development box, see section above, check [this other guide](development_dependencies_install.html). +In case you can't use the Rails development box, see [this other guide](development_dependencies_install.html). ### Clone the Rails Repository ### -- cgit v1.2.3 From 28bd442034e0974d0a4d664076dafb8e9555816d Mon Sep 17 00:00:00 2001 From: Gaurish Sharma Date: Mon, 21 Apr 2014 18:09:22 +0530 Subject: Running AR tests on postgres, mysql & sqlite [ci skip] --- guides/source/contributing_to_ruby_on_rails.md | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'guides/source') diff --git a/guides/source/contributing_to_ruby_on_rails.md b/guides/source/contributing_to_ruby_on_rails.md index da1f305e6c..2ab3280dc8 100644 --- a/guides/source/contributing_to_ruby_on_rails.md +++ b/guides/source/contributing_to_ruby_on_rails.md @@ -244,19 +244,14 @@ $ bundle exec rake test ##### Testing Active Record -This is how you run the Active Record test suite only for SQLite3: +This is how you run the Active Record test suite only for specific database: ```bash $ cd activerecord -$ 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 +$ bundle exec rake test_sqlite3 #sqlite +$ bundle exec rake test_mysql #mysql using mysql gem +$ bundle exec rake test_mysql2 #mysql using mysql2 gem +$ bundle exec rake test_postgresql #postgres ``` Finally, -- cgit v1.2.3 From 9ace0a7ba149dd2409f541b1af69893191ff2450 Mon Sep 17 00:00:00 2001 From: Vijay Dev Date: Sun, 27 Apr 2014 21:29:15 +0530 Subject: Revert "Running AR tests on postgres, mysql & sqlite" This reverts commit 28bd442034e0974d0a4d664076dafb8e9555816d. Reason: Existing text was clearer imo. [ci skip] --- guides/source/contributing_to_ruby_on_rails.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'guides/source') diff --git a/guides/source/contributing_to_ruby_on_rails.md b/guides/source/contributing_to_ruby_on_rails.md index 2ab3280dc8..da1f305e6c 100644 --- a/guides/source/contributing_to_ruby_on_rails.md +++ b/guides/source/contributing_to_ruby_on_rails.md @@ -244,14 +244,19 @@ $ bundle exec rake test ##### Testing Active Record -This is how you run the Active Record test suite only for specific database: +This is how you run the Active Record test suite only for SQLite3: ```bash $ cd activerecord -$ bundle exec rake test_sqlite3 #sqlite -$ bundle exec rake test_mysql #mysql using mysql gem -$ bundle exec rake test_mysql2 #mysql using mysql2 gem -$ bundle exec rake test_postgresql #postgres +$ 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 ``` Finally, -- cgit v1.2.3