method

perform_action

Importance_0
v2.2.1 - Show latest stable - 0 notes - Class: ActionController::Base
perform_action() private

No documentation

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

Hide source
# File actionpack/lib/action_controller/base.rb, line 1251
      def perform_action
        if action_methods.include?(action_name)
          send(action_name)
          default_render unless performed?
        elsif respond_to? :method_missing
          method_missing action_name
          default_render unless performed?
        elsif template_exists?
          default_render
        else
          raise UnknownAction, "No action responded to #{action_name}. Actions: #{action_methods.sort.to_sentence}", caller
        end
      end
Register or log in to add new notes.