Disable Rails XSS protection in ActionMailer views

This might eventually be fixed by Rails itself.\
Right now this is the way to have the rails_xss plugin not escape the body of ActionMailer mails.

Put this into config/initializers/mailers_without_rails_xss.rb:

Arne Hartherz Over 13 years ago