Sha256: c3d15515c88d991bbf8ed0a61d4f3a595f30a5ce927908e2d0ae5cb6d944fce5

Contents?: true

Size: 276 Bytes

Versions: 31

Compression:

Stored size: 276 Bytes

Contents

# frozen_string_literal: true

require "active_support/core_ext/kernel/reporting"

ActiveSupport.on_load(:active_record) do
  silence_warnings do
    # Already defined in Rails
    ActiveRecord::ExplainSubscriber::EXPLAINED_SQLS = /(select|update|delete|insert)\b/i
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
activerecord-sqlserver-adapter-7.1.11 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb
activerecord-sqlserver-adapter-7.2.4 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb
activerecord-sqlserver-adapter-8.0.2 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb
activerecord-sqlserver-adapter-7.1.10 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb
activerecord-sqlserver-adapter-7.2.3 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb
activerecord-sqlserver-adapter-8.0.1 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb
activerecord-sqlserver-adapter-8.0.0 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb
activerecord-sqlserver-adapter-7.2.2 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb
activerecord-sqlserver-adapter-7.1.9 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb
activerecord-sqlserver-adapter-7.1.8 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb
activerecord-sqlserver-adapter-7.2.1 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb
activerecord-sqlserver-adapter-7.2.0 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb
activerecord-sqlserver-adapter-7.1.7 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb
activerecord-sqlserver-adapter-7.1.6 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb
activerecord-sqlserver-adapter-7.1.5 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb
activerecord-sqlserver-adapter-7.1.4 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb
activerecord-sqlserver-adapter-7.0.7 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb
activerecord-sqlserver-adapter-7.1.3 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb
activerecord-sqlserver-adapter-7.1.2 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb
activerecord-sqlserver-adapter-7.1.1 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb