aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/runtime_registry.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2013-04-13 08:15:11 +0200
committerXavier Noria <fxn@hashref.com>2013-04-13 08:21:38 +0200
commit2d42fe7fb5279e0dc3b1ff0831cb1c4fe1811de9 (patch)
tree281183bf64029a4f7f6b7d214be7a58cd2f134de /activerecord/lib/active_record/runtime_registry.rb
parent334e260c5fae975fc222b5f2db19638625fec556 (diff)
downloadrails-2d42fe7fb5279e0dc3b1ff0831cb1c4fe1811de9.tar.gz
rails-2d42fe7fb5279e0dc3b1ff0831cb1c4fe1811de9.tar.bz2
rails-2d42fe7fb5279e0dc3b1ff0831cb1c4fe1811de9.zip
complete rewrite of the documentation of AS::PerThreadRegistry
* It focuses on how to use it. * Removes some ambigueties in the original docs about whether the state is stored in the class. * Documents it provides class-level accessors via method_missing. * Documents that if the extended class has an initializer, it must accept no arguments.
Diffstat (limited to 'activerecord/lib/active_record/runtime_registry.rb')
-rw-r--r--activerecord/lib/active_record/runtime_registry.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/runtime_registry.rb b/activerecord/lib/active_record/runtime_registry.rb
index 3f0ac68143..71b281d844 100644
--- a/activerecord/lib/active_record/runtime_registry.rb
+++ b/activerecord/lib/active_record/runtime_registry.rb
@@ -1,7 +1,7 @@
require 'active_support/per_thread_registry'
module ActiveRecord
- # This is a registry class for storing local variables in active record. The
+ # This is a registry class for storing local variables in Active Record. The
# class allows you to access variables that are local to the current thread.
# These thread local variables are stored as attributes in the
# +RuntimeRegistry+ class.