aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/application_controller.rb
diff options
context:
space:
mode:
authorArun Agrawal <arunagw@gmail.com>2015-10-26 16:28:09 +0100
committerArun Agrawal <arunagw@gmail.com>2015-10-27 10:18:05 +0100
commit4810f401c4fd63985fb194d068717853599d0ba9 (patch)
tree00a756d93822d212d2f196282f18e443a44ddeaa /railties/lib/rails/application_controller.rb
parent190c69ece3a94dbd92f84833491d1b7b1bad06ea (diff)
downloadrails-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/application_controller.rb')
0 files changed, 0 insertions, 0 deletions