diff options
author | Genadi Samokovarov <gsamokovarov@gmail.com> | 2014-11-16 17:17:06 +0200 |
---|---|---|
committer | Genadi Samokovarov <gsamokovarov@gmail.com> | 2014-11-16 17:17:06 +0200 |
commit | e05714fdbc4d6a767f207b08a94ba3ebf147213e (patch) | |
tree | 9d8558c201bd4c8e27d4c4cee067c51c988ba3f8 /actionpack/lib/action_controller/metal/url_for.rb | |
parent | 4b4dca48a590fe9380cc0b727788a36a8c40296f (diff) | |
download | rails-e05714fdbc4d6a767f207b08a94ba3ebf147213e.tar.gz rails-e05714fdbc4d6a767f207b08a94ba3ebf147213e.tar.bz2 rails-e05714fdbc4d6a767f207b08a94ba3ebf147213e.zip |
Don't let #{application,framework,full}_trace be nil
Those three can be nil when exception backtrace is nil. This happens and
that forced a couple of nil guards in the code. I'm proposing to make
those always return an array, even on nil backtrace.
Diffstat (limited to 'actionpack/lib/action_controller/metal/url_for.rb')
0 files changed, 0 insertions, 0 deletions