README.md in lockbox-1.3.3 vs README.md in lockbox-1.4.0

- old
+ new

@@ -192,11 +192,11 @@ ```ruby class User < ApplicationRecord has_encrypted :email # remove this line after dropping email column - self.ignored_columns = ["email"] + self.ignored_columns += ["email"] end ``` Finally, drop the unencrypted column. @@ -1011,24 +1011,9 @@ `encrypts` is now deprecated in favor of `has_encrypted` to avoid conflicting with Active Record encryption. ```ruby class User < ApplicationRecord has_encrypted :email -end -``` - -### 0.6.0 - -0.6.0 adds `encrypted: true` to Active Storage metadata for new files. This field is informational, but if you prefer to add it to existing files, use: - -```ruby -User.with_attached_license.find_each do |user| - next unless user.license.attached? - - metadata = user.license.metadata - unless metadata["encrypted"] - user.license.blob.update!(metadata: metadata.merge("encrypted" => true)) - end end ``` ## History