instance method
main_ractor_connection_handler
Ruby on Rails edge
Since edge Private — implementation detail, not part of the public APISignature
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