diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-03-02 07:45:13 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-03-02 07:45:13 +0900 |
commit | ad340ecae17cbe356952ced531a0c7a0320d12f5 (patch) | |
tree | 671b2f5b3a868e6b8b3799985e95e031dfdfdfd9 /activesupport/lib | |
parent | a408645223f81613b45366aa69d28584c37f17f8 (diff) | |
download | rails-ad340ecae17cbe356952ced531a0c7a0320d12f5.tar.gz rails-ad340ecae17cbe356952ced531a0c7a0320d12f5.tar.bz2 rails-ad340ecae17cbe356952ced531a0c7a0320d12f5.zip |
Fix `ActiveSupport::Reloader.check!`
The test failure in `bug_report_templates/action_controller_master.rb`
is due to `app.reloader.check` is `nil`.
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/reloader.rb | 7 |
1 files 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 } |