method
tables
v3.0.9 -
Show latest stable
- Class:
ActiveRecord::SchemaDumper
tables(stream)private
No documentation available.
# File activerecord/lib/active_record/schema_dumper.rb, line 65
def tables(stream)
@connection.tables.sort.each do |tbl|
next if ['schema_migrations', ignore_tables].flatten.any? do |ignored|
case 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
end
table(tbl, stream)
end
end