method

record

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: ActiveSupport::Notifications::Event
record() 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/notifications/instrumenter.rb, line 75
      def record
        start!
        begin
          yield payload if block_given?
        rescue Exception => e
          payload[:exception] = [e.class.name, e.message]
          payload[:exception_object] = e
          raise e
        ensure
          finish!
        end
      end
Register or log in to add new notes.