diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-05-23 11:38:07 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-05-23 11:38:23 -0700 |
commit | cf985d1a4e7da2ba52f968aceee650bbdda6287e (patch) | |
tree | 40bc3a2226f56ae75961c6646c86770171e8cf68 /README.md | |
parent | 989296ff09ed879453897e0f223608cc0b60ad9f (diff) | |
download | rails-cf985d1a4e7da2ba52f968aceee650bbdda6287e.tar.gz rails-cf985d1a4e7da2ba52f968aceee650bbdda6287e.tar.bz2 rails-cf985d1a4e7da2ba52f968aceee650bbdda6287e.zip |
add a branch to eliminate multiple nil checks
if we add an else conditional to the `presence` check, we can eliminate
the second `||` branch in the caller
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions