# File lib/paperclip/upfile.rb, line 20 def iterate_over_array_to_find_best_option(types) types.reject {|type| type.content_type.match(/\/x-/) }.first end