to_hash()
Converts the given URL to a full connection hash.
# File activerecord/lib/active_record/database_configurations/connection_url_resolver.rb, line 39 def to_hash config = raw_config.compact_blank config.map { |key, value| config[key] = uri_parser.unescape(value) if value.is_a? String } config end