class AbstractController::Base
def action_method?(name)
==== Parameters
it has a method defined in the controller.
Returns true if the name can be considered an action because
def action_method?(name) self.class.action_methods.include?(name) end
def action_method?(name) self.class.action_methods.include?(name) end