method

dispatch

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: ActionableError
dispatch(error, name) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/actionable_error.rb, line 27
    def self.dispatch(error, name) # :nodoc:
      actions(error).fetch(name).call
    rescue KeyError
      raise NonActionable, "Cannot find action \"#{name}\""
    end
Register or log in to add new notes.