lib/timber/events/sql_query.rb in timber-1.1.14 vs lib/timber/events/sql_query.rb in timber-2.0.0

- old
+ new

@@ -1,10 +1,10 @@ module Timber module Events # The SQL query event tracks sql queries to your database. # - # @note This event should be installed automatically through probes, - # such as the {Probes::ActiveRecordLogSubscriber} probe. + # @note This event should be installed automatically through integrations, + # such as the {Integrations::ActiveRecord::LogSubscriber} integration. class SQLQuery < Timber::Event attr_reader :sql, :time_ms, :message def initialize(attributes) @sql = attributes[:sql] || raise(ArgumentError.new(":sql is required")) \ No newline at end of file