Fixing up handling of conditions.

Anything that wasn't a string wasn't being handled elegantly.
Support indices in Rails Engines
Merge pull request #469 from atd/master

Support indices in Rails engines
Merge branch 'master' of git://github.com/pat/thinking-sphinx