lib/attr_encryption.rb in attr_encryption-0.4.1 vs lib/attr_encryption.rb in attr_encryption-0.4.2

- old
+ new

@@ -168,10 +168,10 @@ define_method("#{attribute}?") do value = send(attribute) value.respond_to?(:empty?) ? !value.empty? : !!value end - + self.encrypted_attributes ||= {} encrypted_attributes[attribute.to_sym] = options.merge(:attribute => encrypted_attribute_name) end end alias_method :attr_encryptor, :attr_encrypted