aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorJon Moss <maclover7@users.noreply.github.com>2017-01-19 14:10:20 -0500
committerGitHub <noreply@github.com>2017-01-19 14:10:20 -0500
commitdbeed41e5d11ed661dd2ee065c8fcdb76a555838 (patch)
tree6403f5bfc4b067246d09d27c2b58992aa1b085e2 /guides
parent0e18aece9199596c03d10236a2bc47516581ad6d (diff)
parentc354eafd02ff6515d47654f38b89d1e355fa1bc1 (diff)
downloadrails-dbeed41e5d11ed661dd2ee065c8fcdb76a555838.tar.gz
rails-dbeed41e5d11ed661dd2ee065c8fcdb76a555838.tar.bz2
rails-dbeed41e5d11ed661dd2ee065c8fcdb76a555838.zip
Merge pull request #27742 from olivierlacan/patch-1
Mention ActiveRecord's config.example.yml
Diffstat (limited to 'guides')
-rw-r--r--guides/source/contributing_to_ruby_on_rails.md10
1 files changed, 6 insertions, 4 deletions
diff --git a/guides/source/contributing_to_ruby_on_rails.md b/guides/source/contributing_to_ruby_on_rails.md
index 830a546570..ab07e0c6f3 100644
--- a/guides/source/contributing_to_ruby_on_rails.md
+++ b/guides/source/contributing_to_ruby_on_rails.md
@@ -335,10 +335,12 @@ file.
#### Testing Active Record
-First, create the databases you'll need. For MySQL and PostgreSQL,
-running the SQL statements `create database activerecord_unittest` and
-`create database activerecord_unittest2` is sufficient. This is not
-necessary for SQLite3.
+First, create the databases you'll need. You can find a list of the required
+table names, usernames, and passwords in `activerecord/test/config.example.yml`.
+
+For MySQL and PostgreSQL, running the SQL statements `create database
+activerecord_unittest` and `create database activerecord_unittest2` is
+sufficient. This is not necessary for SQLite3.
This is how you run the Active Record test suite only for SQLite3: