lib/bullet/counter.rb in flyerhzm-bullet-1.5.5 vs lib/bullet/counter.rb in flyerhzm-bullet-1.5.6
- old
+ new
@@ -5,9 +5,13 @@
def start_request
end
def end_request
+ clear
+ end
+
+ def clear
@@klazz_associations = nil
@@possible_objects = nil
@@impossible_objects = nil
end