diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-04-30 10:56:48 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-04-30 10:56:55 -0700 |
commit | fd924371126a50789d31582b9efa074fd47a803e (patch) | |
tree | a897c7edf10c46e12c628548413d9072b8942c32 /Gemfile | |
parent | ca20037899e55ddf734b727454a3180bebf82212 (diff) | |
download | rails-fd924371126a50789d31582b9efa074fd47a803e.tar.gz rails-fd924371126a50789d31582b9efa074fd47a803e.tar.bz2 rails-fd924371126a50789d31582b9efa074fd47a803e.zip |
split nil / Hash cases in url_for
this reduces the number of comparisons and method calls `url_for`
requires. The nil case no longer calls `symbolize_keys`, we already
know options is nil, so no more ||=, and since it is nil we already know
that options[:host] will be nil too.
Diffstat (limited to 'Gemfile')
0 files changed, 0 insertions, 0 deletions