lib/lockbox/utils.rb in lockbox-0.3.0 vs lib/lockbox/utils.rb in lockbox-0.3.1

- old
+ new

@@ -12,10 +12,10 @@ unless options[:key] || options[:encryption_key] || options[:decryption_key] options[:key] = Lockbox.attribute_key(table: table, attribute: attribute, master_key: options.delete(:master_key)) end - Lockbox.new(options) + Lockbox.new(**options) end def self.encrypted_options(record, name) record.class.respond_to?(:lockbox_attachments) ? record.class.lockbox_attachments[name.to_sym] : nil end