daily pastebin goal
47%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   def ActionMailerMailer::Base.debug!
  2.     Net::SMTP.module_eval do
  3.       alias_method '__initialize__', 'initialize'
  4.  
  5.       def initialize(*args, &block)
  6.         __initialize__(*args, &block)
  7.       ensure
  8.         @debug_output = STDERR
  9.       end
  10.     end
  11.   end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top