Exception: AbstractController::Helpers::MissingHelperError
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
| Class Chain: 
          self,
           ::LoadError,::Exception | |
| Instance Chain: 
          self,
           ::LoadError,::Exception | |
| Inherits: | LoadError | 
| Defined in: | actionpack/lib/abstract_controller/helpers.rb | 
Class Method Summary
- .new(error, path) ⇒ MissingHelperError constructor
Instance Method Summary
::LoadError - Inherited
| #is_missing? | Returns true if the given path name (except perhaps for the “.rb” extension) is the missing file which caused the exception to be raised. | 
::Exception - Inherited
Constructor Details
    .new(error, path)  ⇒ MissingHelperError 
  
# File 'actionpack/lib/abstract_controller/helpers.rb', line 26
def initialize(error, path) @error = error @path = "helpers/#{path}.rb" set_backtrace error.backtrace if /^#{path}(\.rb)?$/.match?(error.path) super("Missing helper file helpers/%s.rb" % path) else raise error end end