aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures/helpers/fun
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-09-21 14:00:52 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-09-21 14:00:52 -0700
commit7cdb2ec9636288dce25836c3ec0f261537a6425f (patch)
tree81fced35d151ab60fb26b3f35c2f21328928cc29 /actionpack/test/fixtures/helpers/fun
parentf9dda1567ea8d5b27bd9d66ac5a8b43dc67a6b7e (diff)
downloadrails-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/test/fixtures/helpers/fun')
0 files changed, 0 insertions, 0 deletions