class ActiveRecord::ConnectionAdapters::Table

def remove_references(*args, **options)

See {connection.remove_reference}[rdoc-ref:SchemaStatements#remove_reference]

t.remove_belongs_to(:supplier, polymorphic: true)
t.remove_references(:user)

Removes a reference. Optionally removes a +type+ column.
def remove_references(*args, **options)
  raise_on_if_exist_options(options)
  args.each do |ref_name|
    @base.remove_reference(name, ref_name, **options)
  end
end