bmabey/email-spec — pull request #85 by woahdae (2011-12-12 21:42:08+00:00)
Title: Fix viewing text emails in Rails 3

Previously, EmailViewer::save_and_open_all_text_emails was relying on
TMail#ordered_each, which no longer exists in Rails 3.

This backwards-compatible fix uses Mail#header when using Rails 3.