method

data_source_exists?

rails latest stable - Class: ActiveRecord::ConnectionAdapters::SchemaCache
data_source_exists?(connection, name)
public

A cached lookup for table existence.