attr-encrypted/attr_encrypted — pull request #90 by capps (2014-02-12 01:18:54+00:00)
Title: Fix bug with nil update_attributes

update_attributes(nil) typically returns true (nothing to update, has to work). With attr_encrypted installed it throws, so a simple test substitutes an empty hash.

This occurs in spec tests more than in nature

I tested with both versions of ActiveRecord. A simple clean fix. Thanks