wvanbergen/scoped_search — pull request #77 by abenari (2014-03-09 16:16:37+00:00)
Title: fixed has many through join

Fixed has many through join when the relation is a belong_to b belong_to c,
current code expect a has_many b belong_to c.
The test code throws an sql error without the fix.