APIdock / Ruby on Rails
/
Browse About
method

clear_cache!

v8.1.1 - Show latest stable - Class: ActiveRecord::ConnectionHandling
clear_cache!()
public

No documentation available.

# File activerecord/lib/active_record/connection_handling.rb, line 375
    def clear_cache! # :nodoc:
      connection_pool.schema_cache.clear!
    end

Related methods

  • Instance methods
  • adapter_class
  • clear_cache!
  • clear_query_caches_for_current_thread
  • connected?
  • connected_to
  • connected_to?
  • connected_to_all_shards
  • connected_to_many
  • connecting_to
  • connection
  • connection_db_config
  • connection_pool
  • connection_specification_name
  • connects_to
  • establish_connection
  • lease_connection
  • primary_class?
  • prohibit_shard_swapping
  • release_connection
  • remove_connection
  • retrieve_connection
  • schema_cache
  • shard_keys
  • shard_swapping_prohibited?
  • sharded?
  • while_preventing_writes
  • with_connection
  • Private methods
  • privateappend_to_connected_to_stack
  • privateresolve_config_for_connection
  • privatewith_role_and_shard
APIdock API Documentation Browser

Measure what matters with Swarmia's SPACE framework implementation.

© 2026 APIdock