After writing some extraction scripts to extract out the exact body of emails generated via Ruby on Rails’ ActionMailer, I came across a more elegant and maintainable method for testing RoR mailers.
Johan describes this method here.
Shanti A. Braford blogs here.
If you really want to know, just read this.



