diff options
author | JONBRWN <jonathanbrown.a@gmail.com> | 2014-11-13 19:03:38 -0500 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2014-11-25 10:27:34 -0200 |
commit | 1e5290a743f03a132fe82bf0c4631ee5a587c6a4 (patch) | |
tree | e5d58963f5aee873be369c3939c6348c1a3b6567 /actionpack/lib/action_dispatch/http | |
parent | ae5538ca6b25582be9676ce8f66b0e07d34fbc31 (diff) | |
download | rails-1e5290a743f03a132fe82bf0c4631ee5a587c6a4.tar.gz rails-1e5290a743f03a132fe82bf0c4631ee5a587c6a4.tar.bz2 rails-1e5290a743f03a132fe82bf0c4631ee5a587c6a4.zip |
sets script_name to always be a string.
Closes #17615 #17616
when script_name is nil in the options hash, script_name is set to nil.
options = {script_name: nil}
script_name = options.delete(:script_name) {‘’} # => nil
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Diffstat (limited to 'actionpack/lib/action_dispatch/http')
0 files changed, 0 insertions, 0 deletions