method

config

rails latest stable - Class: ActiveRecord::DatabaseConfigurations::HashConfig

Method deprecated or moved

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

config()
public

No documentation available.

# File activerecord/lib/active_record/database_configurations/hash_config.rb, line 34
      def config
        ActiveSupport::Deprecation.warn("DatabaseConfig#config will be removed in 7.0.0 in favor of DatabaseConfig#configuration_hash which returns a hash with symbol keys")
        configuration_hash.stringify_keys
      end