wvanbergen/scoped_search — pull request #36 by LeakyBucket (2012-12-26 18:40:46+00:00)
Title: Fix for search queries with leading .

We were running into issues in our application when using a search string that started with a .

For example searching for .com would cause scoped_search to try and intern an empty string.

Changing the check on dotted from .nil? to .blank? appears to have fixed the problem.