aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/core.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2015-05-06 12:21:39 +0200
committerXavier Noria <fxn@hashref.com>2015-05-06 12:32:36 +0200
commit84601e42b8154ff6f2daadda89c32992bd314e8e (patch)
tree362e7c5e0e55b53acd421cb4a80aece4085a773c /activerecord/lib/active_record/core.rb
parentf4da2b7437758c0610c31bbd50f010e6bc49ac75 (diff)
downloadrails-84601e42b8154ff6f2daadda89c32992bd314e8e.tar.gz
rails-84601e42b8154ff6f2daadda89c32992bd314e8e.tar.bz2
rails-84601e42b8154ff6f2daadda89c32992bd314e8e.zip
copy-edits the docs of dump_schemas [ci skip]
Diffstat (limited to 'activerecord/lib/active_record/core.rb')
-rw-r--r--activerecord/lib/active_record/core.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/core.rb b/activerecord/lib/active_record/core.rb
index 1ad910c4bc..8a014e682e 100644
--- a/activerecord/lib/active_record/core.rb
+++ b/activerecord/lib/active_record/core.rb
@@ -88,9 +88,10 @@ module ActiveRecord
##
# :singleton-method:
# Specifies which database schemas to dump when calling db:structure:dump.
- # If :schema_search_path (the default), it will dumps any schemas listed in schema_search_path.
- # Use :all to always dumps all schemas regardless of the schema_search_path.
- # A string of comma separated schemas can also be used to pass a custom list of schemas.
+ # If the value is :schema_search_path (the default), any schemas listed in
+ # schema_search_path are dumped. Use :all to dump all schemas regardless
+ # of schema_search_path, or a string of comma separated schemas for a
+ # custom list.
mattr_accessor :dump_schemas, instance_writer: false
self.dump_schemas = :schema_search_path