lib/bullet/association.rb in flyerhzm-bullet-1.5.5 vs lib/bullet/association.rb in flyerhzm-bullet-1.5.6
- old
+ new
@@ -5,9 +5,13 @@
def start_request
end
def end_request
+ clear
+ end
+
+ def clear
@@object_associations = nil
@@unpreload_associations = nil
@@unused_preload_associations = nil
@@callers = nil
@@possible_objects = nil