module Roqua::StatusChecks::CheckDbConnection

Public Class Methods

connected?() click to toggle source
# File lib/roqua/status_checks/check_db_connection.rb, line 4
def self.connected?
  ActiveRecord::Base.connection.active?
rescue StandardError
  false # Check must return boolean, not an exception.
end