65387da  

--  
Justin Mazzi


On Tuesday, October 1, 2013 at 9:43 AM, Fabio Kreusch wrote:

> In lib/crypt_keeper/model.rb:
> > @@ -56,6 +56,15 @@ def crypt_keeper(*args) > end > end > > + def search_by_plaintext(field, criteria) > + if crypt_keeper_fields.include?(field.to_sym) > + encryptor = encryptor_klass.new(crypt_keeper_options) > + encryptor.search(scoping_strategy, field.to_s, criteria) > + else > + raise "#{field} is not a searchable field"  
> Maybe "#{field} is not a crypt keeper field" instead?
>  
> —
> Reply to this email directly or view it on GitHub (https://github.com/jmazzi/crypt_keeper/pull/53/files#r6686284).
>  
>  
>