module FixDBSchemaConflicts::SchemaDumper

Public Instance Methods

extensions(*args) click to toggle source
Calls superclass method
# File lib/fix_db_schema_conflicts/schema_dumper.rb, line 23
def extensions(*args)
  with_sorting do
    super(*args)
  end
end
table(*args) click to toggle source
Calls superclass method
# File lib/fix_db_schema_conflicts/schema_dumper.rb, line 29
def table(*args)
  with_sorting do
    super(*args)
  end
end
with_sorting() { || ... } click to toggle source
# File lib/fix_db_schema_conflicts/schema_dumper.rb, line 35
def with_sorting
  old, @connection = @connection, ConnectionWithSorting.new(@connection)
  result = yield
  @connection = old
  result
end