method

to_legacy_hash

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

Method deprecated or moved

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

to_legacy_hash()
public

No documentation available.

# File activerecord/lib/active_record/database_configurations/database_config.rb, line 28
      def to_legacy_hash
        { env_name => config }
      end