lib/toy/identity_map.rb in toystore-0.10.4 vs lib/toy/identity_map.rb in toystore-0.11.0
- old
+ new
@@ -1,7 +1,6 @@
module Toy
-
module IdentityMap
extend ActiveSupport::Concern
def self.enabled=(flag)
Thread.current[:toystore_identity_map_enabled] = flag
@@ -77,6 +76,6 @@
def remove_from_identity_map
IdentityMap.repository.delete(id) if IdentityMap.enabled?
end
end
-end
\ No newline at end of file
+end