method

determine_default_mailer

rails latest stable - Class: ActionMailer::TestCase

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

determine_default_mailer(name)
public

No documentation available.

# File actionmailer/lib/action_mailer/test_case.rb, line 31
      def determine_default_mailer(name)
        name.sub(/Test$/, '').constantize
      rescue NameError => e
        raise NonInferrableMailerError.new(name)
      end