diff options
Diffstat (limited to 'activerecord/lib/active_record/schema_dumper.rb')
-rw-r--r-- | activerecord/lib/active_record/schema_dumper.rb | 4 |
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 7fe5f26daf..618961b106 100644 --- a/activerecord/lib/active_record/schema_dumper.rb +++ b/activerecord/lib/active_record/schema_dumper.rb @@ -54,8 +54,8 @@ HEADER @connection.tables.sort.each do |tbl| next if ["schema_info", ignore_tables].flatten.any? do |ignored| case ignored - when String: tbl == ignored - when Regexp: tbl =~ ignored + when String; tbl == ignored + when Regexp; tbl =~ ignored else raise StandardError, 'ActiveRecord::SchemaDumper.ignore_tables accepts an array of String and / or Regexp values.' end |