# File lib/thinking_sphinx/active_record/database_adapters.rb, line 49 def adapter_type_for_jdbc_plain(adapter, url) return adapter unless match = /^jdbc:(?<adapter>mysql|postgresql):\/\//.match(url) match[:adapter].to_sym end