method

active_connection_name

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 (v2.1.0) is shown here.

active_connection_name(#:nodoc:)
public

No documentation available.

# File activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb, line 54
      def active_connection_name #:nodoc:
        @active_connection_name ||=
           if active_connections[name] || @@defined_connections[name]
             name
           elsif self == ActiveRecord::Base
             nil
           else
             superclass.active_connection_name
           end
      end