[Rails] Re: Correct location for ActionMailer interceptor

2015-06-27 Thread Cody Skidmore
Thank you Elizabeth. I'm new to Rails so poking around in the Rails source is insightful. Usually the test case is a good guide for how to use a piece of code. The interceptor is declared right inside the test case. The documentation and the test seem to imply that I should declare the interce

[Rails] Re: Correct location for ActionMailer interceptor

2015-06-27 Thread Elizabeth McGurty
To get started: For Rails 3, Railscasts: #206 Action Mailer in Rails 3 At Github, Rails ActionMailer, the interceptor test file is pretty interesting, around line 642 https://github.com/rails/rails/blob/3e36db4406beea32772b1db1e9a16cc1e8aea14c/actionmailer/test/base_test.rb. On Friday, June