method

config

Method deprecated or moved

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

config()
private

No documentation available.

# File activerecord/lib/active_record/connection_handling.rb, line 76
        def config
          @raw_config.dup.tap do |cfg|
            if url = ENV["DATABASE_URL"]
              cfg[@env] ||= {}
              cfg[@env]["url"] ||= url
            end
          end
        end