Module: NOne

Defined in:
lib/n_one.rb,
lib/n_one/query.rb,
lib/n_one/runner.rb,
lib/n_one/version.rb

Overview

Reliable N+1 detection based on sql fingerprinting

Defined Under Namespace

Modules: Query Classes: NPlusOneDetected, Runner

Constant Summary collapse

VERSION =
'1.0.3'

Class Method Summary collapse

Class Method Details

.scan(**args, &block) ⇒ Object



33
34
35
# File 'lib/n_one.rb', line 33

def scan(**args, &block)
  Runner.new(**args).scan(&block)
end

.scan!(**args, &block) ⇒ Object



37
38
39
# File 'lib/n_one.rb', line 37

def scan!(**args, &block)
  Runner.new(**args).scan!(&block)
end