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.0 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb
activerecord-sqlserver-adapter-7.0.6 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb
activerecord-sqlserver-adapter-7.1.0.rc2 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb
activerecord-sqlserver-adapter-7.1.0.rc1 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb
activerecord-sqlserver-adapter-7.0.5.1 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb
activerecord-sqlserver-adapter-7.1.0.beta1 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb
activerecord-sqlserver-adapter-7.0.5.0 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb
activerecord-sqlserver-adapter-7.0.4.0 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb
activerecord-sqlserver-adapter-7.0.3.0 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb
activerecord-sqlserver-adapter-7.0.2.0 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb
activerecord-sqlserver-adapter-7.0.1.0 lib/active_record/connection_adapters/sqlserver/core_ext/explain_subscriber.rb