private Method

Base.perform_action

There's no documentation for this item.

Source Code

# File action_controller/base.rb, line 1163
def perform_action
  if self.class.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? && template_public?
    default_render
  else
    raise UnknownAction, "No action responded to #{action_name}", caller
  end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.