made a few rails 3.2 upgrade bug fixes. added empty mailer