diff options
author | Xavier Noria <fxn@hashref.com> | 2013-04-13 17:08:00 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2013-04-13 17:09:13 +0200 |
commit | e5ef3abdd2336c34cd853a1f845f79b8b19fbb1b (patch) | |
tree | 4292b3e79af5217e39ea84b56160a805e57f5aa7 /activerecord/test/cases/reload_models_test.rb | |
parent | 67bb49b69e1f10c2b35a53a645ed98a028375f1d (diff) | |
download | rails-e5ef3abdd2336c34cd853a1f845f79b8b19fbb1b.tar.gz rails-e5ef3abdd2336c34cd853a1f845f79b8b19fbb1b.tar.bz2 rails-e5ef3abdd2336c34cd853a1f845f79b8b19fbb1b.zip |
hides the per thread registry instance, and caches singleton methods
Existing code was delegating to the instance with delegate
macro calls, or invoking the instance method to reach
the object and call its instance methods.
But the point is to have a clean class-level interface where
the thread local instance is hidden in the implementation.
References #11c6973.
References #10198.
Diffstat (limited to 'activerecord/test/cases/reload_models_test.rb')
0 files changed, 0 insertions, 0 deletions