binarylogic / searchlogic

Searchlogic provides object based searching, common named scopes, and other useful tools.
http://rdoc.info/projects/binarylogic/searchlogic
MIT License
1.4k stars 133 forks source link

reference self rather than top level AR base to determine object connection adapter #154

Closed ak47 closed 12 years ago

ak47 commented 12 years ago

This is needed in multi-db environments when different databases are used.

I have multi-db environment. One is postgres the other db's are firebird. Using 'self' here results in search correctly identifying postgres as the adapter.

ak47 commented 12 years ago

and all specs are passing