diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2015-12-17 15:52:49 +0100 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2015-12-17 15:52:49 +0100 |
commit | bb4a9e22b02bf954865309c5df1d9762af471973 (patch) | |
tree | 5ca5324325f2e1b89860618de90c0736bf971e16 /activesupport/lib/active_support/per_thread_registry.rb | |
parent | 529d05fed1737d30058339318626a32dc37ec463 (diff) | |
parent | 8a40cba66ae08c33ff062125b485fddd01f8264d (diff) | |
download | rails-bb4a9e22b02bf954865309c5df1d9762af471973.tar.gz rails-bb4a9e22b02bf954865309c5df1d9762af471973.tar.bz2 rails-bb4a9e22b02bf954865309c5df1d9762af471973.zip |
Merge pull request #22630 from rails/attribute-accessors-per-thread
Add thread_m/cattr_accessor/reader/writer suite of methods for declaring class and module variables that live per-thread
Diffstat (limited to 'activesupport/lib/active_support/per_thread_registry.rb')
-rw-r--r-- | activesupport/lib/active_support/per_thread_registry.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/per_thread_registry.rb b/activesupport/lib/active_support/per_thread_registry.rb index a909a65bb6..88e2b12cc7 100644 --- a/activesupport/lib/active_support/per_thread_registry.rb +++ b/activesupport/lib/active_support/per_thread_registry.rb @@ -1,6 +1,9 @@ require 'active_support/core_ext/module/delegation' module ActiveSupport + # NOTE: This approach has been deprecated for end-user code in favor of thread_mattr_accessor and friends. + # Please use that approach instead. + # # This module is used to encapsulate access to thread local variables. # # Instead of polluting the thread locals namespace: |