aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authormhutchin <mike@mhutchinson.com>2011-03-27 02:34:02 -0700
committermhutchin <mike@mhutchinson.com>2011-03-27 02:34:02 -0700
commit738e906a021885a0cc864cf781b4cb54a973ef21 (patch)
tree6495d1e5a1025159fe6984cbe77830784cbe8dfe /railties
parent35129f5b9921428d3c200224841476ba69fa4dc3 (diff)
downloadrails-738e906a021885a0cc864cf781b4cb54a973ef21.tar.gz
rails-738e906a021885a0cc864cf781b4cb54a973ef21.tar.bz2
rails-738e906a021885a0cc864cf781b4cb54a973ef21.zip
A little minor rephrasing for improved readability.
Diffstat (limited to 'railties')
-rw-r--r--railties/guides/source/testing.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/testing.textile b/railties/guides/source/testing.textile
index 3b3cde3e9b..d3f72509c6 100644
--- a/railties/guides/source/testing.textile
+++ b/railties/guides/source/testing.textile
@@ -227,7 +227,7 @@ $ rake db:migrate
$ rake db:test:load
</shell>
-Above +rake db:migrate+ runs any pending migrations on the _development_ environment and updates +db/schema.rb+. +rake db:test:load+ recreates the test database from the current +db/schema.rb+. On subsequent attempts, it is a good idea to first run +db:test:prepare+, as it first checks for pending migrations and warns you appropriately.
+The +rake db:migrate+ above runs any pending migrations on the _development_ environment and updates +db/schema.rb+. The +rake db:test:load+ recreates the test database from the current +db/schema.rb+. On subsequent attempts, it is a good idea to first run +db:test:prepare+, as it first checks for pending migrations and warns you appropriately.
NOTE: +db:test:prepare+ will fail with an error if +db/schema.rb+ doesn't exist.