Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Small correction to contributing_to_rails in the section for testing …


Initially the guide suggests to install gems via "bundle install --without db" 
But tests for ActiveRecord need to install the gems in db group also, like mysql.
The patch clears the bundler options in ".bundle/config" and installs all the gems in Gemfile
  • Loading branch information...
commit 0cfbaa030a0684aaa89d3d3c85528e80c1995836 1 parent 2114e21
@deepak deepak authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 guides/source/contributing_to_ruby_on_rails.textile
6 guides/source/contributing_to_ruby_on_rails.textile
@@ -128,6 +128,12 @@ The test suite of Active Record attempts to run four times: once for SQLite3, on
WARNING: If you're working with Active Record code, you _must_ ensure that the tests pass for at least MySQL, PostgreSQL, and SQLite3. Subtle differences between the various adapters have been behind the rejection of many patches that looked OK when tested only against MySQL.
+NOTE: need to install gems in the db group:
+$ bundle install --without ""
h5. Database Configuration
The Active Record test suite requires a custom config file: +activerecord/test/config.yml+. An example is provided in +activerecord/test/config.example.yml+ which can be copied and used as needed for your environment.
Please sign in to comment.
Something went wrong with that request. Please try again.