I have this weird thing going on in my rails4 app: I created event.rb in the lib folder. In there, I call a mailer: def whatever puts 'here' UserMailer.welcome(user) puts 'there' end which is calling class UserMailer < ActionMailer::Base def welcome(user) ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
1 Answer 3 views