Sha256: 725241bfb49672eda5adfe77e35ab22261e36dbc9e7547da6d9bef4b3c728197
Contents?: true
Size: 377 Bytes
Versions: 11
Compression:
Stored size: 377 Bytes
Contents
class Neo4j::Core::Query alias_method :response_without_miniprofiler, :response def response return @response if @response start = Time.now rval = response_without_miniprofiler elapsed_time = SqlPatches.elapsed_time(start) Rack::MiniProfiler.record_sql(to_cypher, elapsed_time) rval end alias_method :response_with_miniprofiler, :response end
Version data entries
11 entries across 11 versions & 2 rubygems