# File lib/thinking_sphinx/active_record/database_adapters.rb, line 37 def adapter_type_for_jdbc(model) case adapter = model.connection.config[:adapter] when 'jdbcmysql' :mysql when 'jdbcpostgresql' :postgresql when 'jdbc' adapter_type_for_jdbc_plain(adapter, model.connection.config[:url]) else adapter end end