method
new
v8.0.0 -
Show latest stable
- Class:
ActiveRecord::SchemaDumper
new(connection, options = {})public
No documentation available.
# File activerecord/lib/active_record/schema_dumper.rb, line 74
def initialize(connection, options = {})
@connection = connection
@version = connection.pool.migration_context.current_version rescue nil
@options = options
@ignore_tables = [
ActiveRecord::Base.schema_migrations_table_name,
ActiveRecord::Base.internal_metadata_table_name,
self.class.ignore_tables
].flatten
end