diff options
author | Olivier Lacan <hi@olivierlacan.com> | 2017-01-19 19:43:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-19 19:43:44 +0100 |
commit | c354eafd02ff6515d47654f38b89d1e355fa1bc1 (patch) | |
tree | 6403f5bfc4b067246d09d27c2b58992aa1b085e2 /guides/source | |
parent | 0e18aece9199596c03d10236a2bc47516581ad6d (diff) | |
download | rails-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')
-rw-r--r-- | guides/source/contributing_to_ruby_on_rails.md | 10 |
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: |