method

connection_id

rails latest stable - Class: ActiveRecord::Base

Method deprecated or moved

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

connection_id()
public

No documentation available.

# File activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb, line 148
      def connection_id
        Thread.current['ActiveRecord::Base.connection_id']
      end