Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Resetting sql_count data on reset

  • Loading branch information...
commit 278ed2c4b9ca00a9fd7f2516623fa9d03a342401 1 parent 70be76c
@selvakn authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  lib/rails_instrument.rb
  2. +1 −1  lib/rails_instrument/version.rb
View
2  lib/rails_instrument.rb
@@ -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:
View
2  lib/rails_instrument/version.rb
@@ -1,3 +1,3 @@
module RailsInstrument
- VERSION = "0.0.3"
+ VERSION = "0.0.4"
end
Please sign in to comment.
Something went wrong with that request. Please try again.