diff options
author | Yoshiyuki Kinjo <yskkin@gmail.com> | 2018-03-31 21:47:04 +0900 |
---|---|---|
committer | Yoshiyuki Kinjo <yskkin@gmail.com> | 2018-03-31 23:12:16 +0900 |
commit | 7419a4f911b2f8521db3ecfcd78148cf89ebd221 (patch) | |
tree | 33f46838a5e3362fcc6d2c176ead7ad5e6049d9b /activerecord/lib/active_record/persistence.rb | |
parent | 5616c08401ddfbb43d2281c86247027316c28117 (diff) | |
download | rails-7419a4f911b2f8521db3ecfcd78148cf89ebd221.tar.gz rails-7419a4f911b2f8521db3ecfcd78148cf89ebd221.tar.bz2 rails-7419a4f911b2f8521db3ecfcd78148cf89ebd221.zip |
Deriving `secret_key_base` breaks `key_generator` defined in 5.1.
If one created Rails 5.1 app and then updated to 5.2,
`secret_key_base` defined in `config/secrets.yml` is ignored for
`development` and `test` environment.
A change in `secret_key_base` in turn breaks
`Rails.application.key_generator`.
If one encrypt data in Rails 5.1, she cannot decrypt it in Rails 5.2
for `development` and `test` environment.
Diffstat (limited to 'activerecord/lib/active_record/persistence.rb')
0 files changed, 0 insertions, 0 deletions