Permalink
Browse files

Just require tmail instead of autoloading it to fix issues when using…

… the gem

version [#1851 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
  • Loading branch information...
1 parent 85df484 commit 5c684f518feeaf38961f976b966e57abf386e248 @marcusmateus marcusmateus committed with josh Feb 24, 2009
Showing with 2 additions and 1 deletion.
  1. +2 −1 actionmailer/lib/action_mailer.rb
@@ -58,4 +58,5 @@ module Net
end
autoload :MailHelper, 'action_mailer/mail_helper'
-autoload :TMail, 'action_mailer/vendor/tmail'
+
+require 'action_mailer/vendor/tmail'

1 comment on commit 5c684f5

Contributor

marcusmateus commented on 5c684f5 Feb 24, 2009

Ah, you mean I wrote those test for nothin’ ;-)

Please sign in to comment.