method

render_message

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActionMailer::Base

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.

render_message(method_name, body) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionmailer/lib/action_mailer/base.rb, line 549
      def render_message(method_name, body)
        if method_name.respond_to?(:content_type)
          @current_template_content_type = method_name.content_type
        end
        render :file => method_name, :body => body
      ensure
        @current_template_content_type = nil
      end
Register or log in to add new notes.