Permalink
Browse files

Change API name, we don't need any param.

  • Loading branch information...
1 parent d13df4c commit 3a34ae04bdf5e0badc85daef5f204d02688f193d @miloops miloops committed Oct 15, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/identity_map.rb
@@ -26,7 +26,7 @@ def repository
Thread.current[:identity_map] ||= Hash.new { |h,k| h[k] = ActiveSupport::WeakHash.new }
end
- def with_repository(name = :default)
+ def use
yield if block_given?
end

0 comments on commit 3a34ae0

Please sign in to comment.