Permalink
Browse files

Resetting sql_count data on reset

  • Loading branch information...
selvakn committed Oct 21, 2011
1 parent 70be76c commit 278ed2c4b9ca00a9fd7f2516623fa9d03a342401
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/rails_instrument.rb
  2. +1 −1 lib/rails_instrument/version.rb
View
@@ -4,7 +4,7 @@ module RailsInstrument
class <<self
# Resets the instrument statistics and counts
def reset!
- $rails_instrument = {}
+ $rails_instrument = { :sql_count => 0 }
end
def init #:nodoc:
@@ -1,3 +1,3 @@
module RailsInstrument
- VERSION = "0.0.3"
+ VERSION = "0.0.4"
end

0 comments on commit 278ed2c

Please sign in to comment.