Check to see if ActiveRecord is connected.