module Roqua module StatusChecks module CheckDbConnection def self.connected? ActiveRecord::Base.connection.active? rescue StandardError false # Check must return boolean, not an exception. end end end end