aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/contributing_to_ruby_on_rails.md
diff options
context:
space:
mode:
authorOlivier Lacan <hi@olivierlacan.com>2017-01-19 19:43:44 +0100
committerGitHub <noreply@github.com>2017-01-19 19:43:44 +0100
commitc354eafd02ff6515d47654f38b89d1e355fa1bc1 (patch)
tree6403f5bfc4b067246d09d27c2b58992aa1b085e2 /guides/source/contributing_to_ruby_on_rails.md
parent0e18aece9199596c03d10236a2bc47516581ad6d (diff)
downloadrails-c354eafd02ff6515d47654f38b89d1e355fa1bc1.tar.gz
rails-c354eafd02ff6515d47654f38b89d1e355fa1bc1.tar.bz2
rails-c354eafd02ff6515d47654f38b89d1e355fa1bc1.zip
Mention ActiveRecord's config.example.yml
This will help people figure out what credentials and tables are required to run ActiveRecord specs.
Diffstat (limited to 'guides/source/contributing_to_ruby_on_rails.md')
-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: