Class: Sequel::Database

Inherits:
Object
  • Object
show all
Defined in:
lib/patches/sql_patches.rb

Instance Method Summary collapse

Instance Method Details

#log_duration(duration, message) ⇒ Object



132
133
134
135
# File 'lib/patches/sql_patches.rb', line 132

def log_duration(duration, message)
	::Rack::MiniProfiler.record_sql(message, duration)
	log_duration_original(duration, message)
end

#log_duration_originalObject



131
# File 'lib/patches/sql_patches.rb', line 131

alias_method :log_duration_original, :log_duration