aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/schema_dumper.rb
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2017-05-13 23:02:08 -0500
committerGuillermo Iguaran <guilleiguaran@gmail.com>2017-05-15 18:19:12 -0500
commit0b921f5d3ebaed95dcc0d8304f054a9ccf672141 (patch)
tree7e44cc0aa2b4f2070d5407d4d2b0438c13039f77 /activerecord/lib/active_record/schema_dumper.rb
parent4b49ab66425283f4b79907873b72236c7ebec0be (diff)
downloadrails-0b921f5d3ebaed95dcc0d8304f054a9ccf672141.tar.gz
rails-0b921f5d3ebaed95dcc0d8304f054a9ccf672141.tar.bz2
rails-0b921f5d3ebaed95dcc0d8304f054a9ccf672141.zip
Update SchemaDumper.ignore_tables docs
Diffstat (limited to 'activerecord/lib/active_record/schema_dumper.rb')
-rw-r--r--activerecord/lib/active_record/schema_dumper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/schema_dumper.rb b/activerecord/lib/active_record/schema_dumper.rb
index 94d63765c9..24b81aabc8 100644
--- a/activerecord/lib/active_record/schema_dumper.rb
+++ b/activerecord/lib/active_record/schema_dumper.rb
@@ -11,8 +11,8 @@ module ActiveRecord
##
# :singleton-method:
# A list of tables which should not be dumped to the schema.
- # Acceptable values are strings as well as regexp.
- # This setting is only used if ActiveRecord::Base.schema_format == :ruby
+ # Acceptable values are strings as well as regexp if ActiveRecord::Base.schema_format == :ruby.
+ # Only strings are accepted if ActiveRecord::Base.schema_format == :sql.
cattr_accessor :ignore_tables
@@ignore_tables = []