connected?()
Returns true if Active Record is connected.
# File activerecord/lib/active_record/connection_handling.rb, line 291 def connected? connection_handler.connected?(connection_specification_name, role: current_role, shard: current_shard) end