Search code examples
ruby-on-rails-3.1devise

Rails 3.1 - Devise inserting address into subject line of confirmation email


I'm using rails 3.1 with Devise. When an account confirmation email goes out, it is received with the following subject line:

Subject:    [["[email protected]"]]MySite Account Confirmation Instructions

I've modified the corresponding entry in config/locals/devise.en.yml like this:

mailer:
  confirmation_instructions:
    subject: 'MySite Account Confirmation Instructions'

I don't want the '[["[email protected]"]] in the email subject line. How can I get Devise to not put it there? BTW I really don't want to have to create some custom mailer that overrides Devises' stock mailer... Big extra bonus points for an answer that avoids anything to do with custom mailers. But if that is the only way, I need to know that too...


Solution

  • This was a strange one... Had to reboot my Mac, after which the problem was gone.