instance method
method_for_action
Ruby on Rails 3.2.22.5
Since v3.0.20 Last seen in v3.2.22.5Signature
method_for_action(action_name)
No documentation comment.
Parameters
-
action_namereq
Source
# File actionpack/lib/action_controller/metal/compatibility.rb, line 60
def method_for_action(action_name)
super || ((self.class.public_method_defined?(:method_missing) ||
self.class.protected_method_defined?(:method_missing)) && "_handle_method_missing")
end
Defined in actionpack/lib/action_controller/metal/compatibility.rb line 60
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Compatibility