method

determine_owner_name

rails latest stable - Class: ActiveRecord::ConnectionAdapters::ConnectionHandler
determine_owner_name(owner_name, config)
private

No documentation available.

# File activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb, line 356
        def determine_owner_name(owner_name, config)
          if owner_name.is_a?(String) || owner_name.is_a?(Symbol)
            StringConnectionName.new(owner_name.to_s)
          elsif config.is_a?(Symbol)
            StringConnectionName.new(config.to_s)
          else
            owner_name
          end
        end