Sha256: 4d9bab96127bc9b77e4d7d4f1d8595faecaafdfa5cadfaa37f373542e950e485
Contents?: true
Size: 281 Bytes
Versions: 4
Compression:
Stored size: 281 Bytes
Contents
require 'speed_gun/profiler/base' class SpeedGun::Profiler::ActiveRecord < SpeedGun::Profiler::Base def title "#{@name}" end def html %Q{<pre class="sql">#{@sql}</pre>} end def before_profile(adapter, sql, name = nil) @sql = sql @name = name end end
Version data entries
4 entries across 4 versions & 1 rubygems