Skip to content

Commit

Permalink
Just require tmail instead of autoloading it to fix issues when using…
Browse files Browse the repository at this point in the history
… the gem

version [#1851 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
  • Loading branch information
marcusmateus authored and josh committed Feb 24, 2009
1 parent 85df484 commit 5c684f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion actionmailer/lib/action_mailer.rb
Expand Up @@ -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

@marcusmateus
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Please sign in to comment.