aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support.rb11
1 files changed, 2 insertions, 9 deletions
diff --git a/activesupport/lib/active_support.rb b/activesupport/lib/active_support.rb
index 34040e9d33..f9a2e94a4e 100644
--- a/activesupport/lib/active_support.rb
+++ b/activesupport/lib/active_support.rb
@@ -71,15 +71,8 @@ module ActiveSupport
NumberHelper.eager_load!
end
- @@test_order = nil
-
- def self.test_order=(new_order) # :nodoc:
- @@test_order = new_order
- end
-
- def self.test_order # :nodoc:
- @@test_order
- end
+ cattr_accessor :test_order # :nodoc:
+ self.test_order = nil
end
autoload :I18n, "active_support/i18n"