teeparham/resque_mailer — comment on commit 3f8cd0da5f5f7745df57d4676096f8ff4630909a
File: lib/resque_model_mailer.rb line 12
By scottjacobsen:

When you just include Resque::Mailer in this module the 'environment_excluded? method does not get defined infinitely calling method_missing until the stack blows. Doing the base.send(:include, Resque::Mailer) does cause the 'evironment_excluded? to be defined.