instance method main_ractor_connection_handler

Ruby on Rails edge

Since edge Private — implementation detail, not part of the public API

Signature

main_ractor_connection_handler()

No documentation comment.

Source
# File activerecord/lib/active_record/test_fixtures.rb, line 308
      def main_ractor_connection_handler
        handler = ActiveRecord::Base.connection_handler
        if handler.is_a?(ConnectionAdapters::RactorConnectionHandler)
          handler.main_ractor_handler
        else
          handler
        end
      end

Defined in activerecord/lib/active_record/test_fixtures.rb line 308 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::TestFixtures

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close