KoanHealth/mongoid-encrypted-fields — pull request #1 by xtr3me (2013-02-21 08:36:08+00:00)
Title: Raise an error when trying to search with a regexp

This gives the developer a pointer when searching goes wrong.
Instead of raising the error: TypeError: can't convert Regexp into String
we now raise: NotImplementedError: Searching is only possible when using equality