crowdint/rails3-jquery-autocomplete — pull request #136 by ljulien (2012-02-06 17:17:13+00:00)
Title: Check whether the specific model uses the PostgreSQLAdapter, not if PGconn is defined.

This is the issue I mentioned in email last week, and my fix for it. Something very much like this will do the trick, if not this exactly. It fixes problems where multiple adapters are used in the same application, such as Issue #118.