method

dispatch_action

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Base
dispatch_action(action, data) private

No documentation

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

Hide source
# File actioncable/lib/action_cable/channel/base.rb, line 269
        def dispatch_action(action, data)
          logger.debug action_signature(action, data)

          if method(action).arity == 1
            public_send action, data
          else
            public_send action
          end
        rescue Exception => exception
          rescue_with_handler(exception) || raise
        end
Register or log in to add new notes.