diff options
author | Arun Agrawal <arunagw@gmail.com> | 2015-10-26 16:28:09 +0100 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2015-10-27 10:18:05 +0100 |
commit | 4810f401c4fd63985fb194d068717853599d0ba9 (patch) | |
tree | 00a756d93822d212d2f196282f18e443a44ddeaa /railties/lib/rails/generators.rb | |
parent | 190c69ece3a94dbd92f84833491d1b7b1bad06ea (diff) | |
download | rails-4810f401c4fd63985fb194d068717853599d0ba9.tar.gz rails-4810f401c4fd63985fb194d068717853599d0ba9.tar.bz2 rails-4810f401c4fd63985fb194d068717853599d0ba9.zip |
raise `ArgumentError` when `SECRET_KEY_BASE` is an integer
If `SECRET_KEY_BASE` or other `secret` gets passed as other then string
we need to raise `ArgumentError` to know that it's a wrong argument.
Closes #22072
Diffstat (limited to 'railties/lib/rails/generators.rb')
0 files changed, 0 insertions, 0 deletions