diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-09-21 14:00:52 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-09-21 14:00:52 -0700 |
commit | 7cdb2ec9636288dce25836c3ec0f261537a6425f (patch) | |
tree | 81fced35d151ab60fb26b3f35c2f21328928cc29 /actionpack/lib/action_dispatch/request/utils.rb | |
parent | f9dda1567ea8d5b27bd9d66ac5a8b43dc67a6b7e (diff) | |
download | rails-7cdb2ec9636288dce25836c3ec0f261537a6425f.tar.gz rails-7cdb2ec9636288dce25836c3ec0f261537a6425f.tar.bz2 rails-7cdb2ec9636288dce25836c3ec0f261537a6425f.zip |
remove `blank?` calls on `==`
Since Mime::Type implements `method_missing`, and `blank?` triggers it's
positive branch:
https://github.com/rails/rails/blob/f9dda1567ea8d5b27bd9d66ac5a8b43dc67a6b7e/actionpack/lib/action_dispatch/http/mime_type.rb#L342
We should stop calling `blank?`.
Diffstat (limited to 'actionpack/lib/action_dispatch/request/utils.rb')
0 files changed, 0 insertions, 0 deletions