From ad340ecae17cbe356952ced531a0c7a0320d12f5 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Wed, 2 Mar 2016 07:45:13 +0900 Subject: Fix `ActiveSupport::Reloader.check!` The test failure in `bug_report_templates/action_controller_master.rb` is due to `app.reloader.check` is `nil`. --- activesupport/lib/active_support/reloader.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/activesupport/lib/active_support/reloader.rb b/activesupport/lib/active_support/reloader.rb index 639b987ba8..d88fcbcf78 100644 --- a/activesupport/lib/active_support/reloader.rb +++ b/activesupport/lib/active_support/reloader.rb @@ -65,10 +65,9 @@ module ActiveSupport end end - class << self - attr_accessor :executor - attr_accessor :check - end + class_attribute :executor + class_attribute :check + self.executor = Executor self.check = lambda { false } -- cgit v1.2.3