123456789_123456789_123456789_123456789_123456789_

Exception: AbstractController::ActionNotFound

Relationships & Source Files
Namespace Children
Classes:
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, StandardError
Instance Chain:
self, StandardError
Inherits: StandardError
  • ::Object
Defined in: actionpack/lib/abstract_controller/base.rb

Overview

Raised when a non-existing controller action is triggered.

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(message = nil, controller = nil, action = nil) ⇒ ActionNotFound

[ GitHub ]

  
# File 'actionpack/lib/abstract_controller/base.rb', line 13

def initialize(message = nil, controller = nil, action = nil)
  @controller = controller
  @action = action
  super(message)
end

Instance Attribute Details

#action (readonly)

[ GitHub ]

  
# File 'actionpack/lib/abstract_controller/base.rb', line 12

attr_reader :controller, :action

#controller (readonly)

[ GitHub ]

  
# File 'actionpack/lib/abstract_controller/base.rb', line 12

attr_reader :controller, :action