# File activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb, line 125
def table_exists?(name)
return true if @tables.key? name
with_connection do |conn|
conn.tables.each { |table| @tables[table] = true }
@tables[name] = true if [email protected]?(name) && conn.table_exists?(name)
end
@tables.key? name
end