upgrade to rails 4, new mailer method