method
resolve_string_connection

resolve_string_connection(spec)
private
Hide source
# File activerecord/lib/active_record/connection_adapters/connection_specification.rb, line 39 def resolve_string_connection(spec) # :nodoc: hash = configurations.fetch(spec) do |k| connection_url_to_hash(k) end raise(AdapterNotSpecified, "#{spec} database is not configured") unless hash resolve_hash_connection hash end