README.md in lockbox-1.4.1 vs README.md in lockbox-2.0.0

- old
+ new

@@ -33,11 +33,11 @@ ```sh LOCKBOX_MASTER_KEY=0000000000000000000000000000000000000000000000000000000000000000 ``` -or add it to your credentials for each environment (`rails credentials:edit --environment <env>` for Rails 6+) +or add it to your credentials for each environment (`rails credentials:edit --environment <env>`) ```yml lockbox: master_key: "0000000000000000000000000000000000000000000000000000000000000000" ``` @@ -999,21 +999,9 @@ remove_column :users, :encrypted_name, :text remove_column :users, :encrypted_name_iv, :text remove_column :users, :encrypted_email, :text remove_column :users, :encrypted_email_iv, :text end -end -``` - -## Upgrading - -### 1.0.0 - -`encrypts` is now deprecated in favor of `has_encrypted` to avoid conflicting with Active Record encryption. - -```ruby -class User < ApplicationRecord - has_encrypted :email end ``` ## History