method
resolve_url_connection
v5.2.3 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::ConnectionSpecification::Resolver
resolve_url_connection(url)private
Takes a connection URL.
Resolver.new({}).resolve_url_connection("postgresql://localhost/foo") # => { "host" => "localhost", "database" => "foo", "adapter" => "postgresql" }