Method: ActiveRecord::ConnectionAdapters::SchemaReflection#clear_data_source_cache!

Defined in:
activerecord/lib/active_record/connection_adapters/schema_cache.rb

#clear_data_source_cache!(pool, name) ⇒ Object



73
74
75
76
77
# File 'activerecord/lib/active_record/connection_adapters/schema_cache.rb', line 73

def clear_data_source_cache!(pool, name)
  return if @cache.nil? && !possible_cache_available?

  cache(pool).clear_data_source_cache!(pool, name)
end