method

active?

rails latest stable - Class: ActiveRecord::ConnectionAdapters::DB2Adapter

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1.2.6) is shown here.

active?()
public

No documentation available.

# File activerecord/lib/active_record/connection_adapters/db2_adapter.rb, line 172
        def active?
          @connection.select_one 'select 1 from ibm.sysdummy1'
          true
        rescue Exception
          false
        end