Excerpts from Edward Z. Yang's message of 2010-03-09 23:50:23 -0500: > - content_type = (m.header.content_type || > "application/unknown").downcase # sometimes RubyMail gives us nil > + content_type = (m.header["content_type"] && m.header.content_type || > "application/unknown").downcase # sometimes RubyMail gives us nil
Could you explain why these changes help? What's the return value of the [] call versus the method call? _______________________________________________ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel