From 726001485005629b155240fe85f8a011f15d6b84 Mon Sep 17 00:00:00 2001 From: Guillermo Iguaran Date: Sun, 18 Aug 2013 19:47:33 -0500 Subject: oops, I missed this in 7193f75 --- activesupport/lib/active_support/core_ext/thread.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib') diff --git a/activesupport/lib/active_support/core_ext/thread.rb b/activesupport/lib/active_support/core_ext/thread.rb index de752f14ef..878ec73ef0 100644 --- a/activesupport/lib/active_support/core_ext/thread.rb +++ b/activesupport/lib/active_support/core_ext/thread.rb @@ -65,7 +65,7 @@ class Thread private def _locals - if defined?(@locals) + if defined?(@_locals) @_locals else LOCK.synchronize { @_locals ||= {} } -- cgit v1.2.3