table_exists?(name)
A cached lookup for table existence.
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 27 def table_exists?(name) return @tables[name] if @tables.key? name @tables[name] = connection.table_exists?(name) end