diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2015-10-19 19:41:15 -0600 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2015-10-19 19:41:15 -0600 |
commit | 9be4ea81846b016752467cb0459fc90e1143ebf3 (patch) | |
tree | 08060740c532bb843aca72dd6d62c60fa8ab22ea /railties | |
parent | 09f057d1933d341b04833815f903b63a904f0328 (diff) | |
parent | fa65b44b28b7c3de3b18b3431a7e76a6bef7f495 (diff) | |
download | rails-9be4ea81846b016752467cb0459fc90e1143ebf3.tar.gz rails-9be4ea81846b016752467cb0459fc90e1143ebf3.tar.bz2 rails-9be4ea81846b016752467cb0459fc90e1143ebf3.zip |
Merge pull request #21978 from ctreatma/console_helper_reload
Fix #21977: Removes memoization of helpers in Rails console
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/console/helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/console/helpers.rb b/railties/lib/rails/console/helpers.rb index b775f1ff8d..a33f71dc5b 100644 --- a/railties/lib/rails/console/helpers.rb +++ b/railties/lib/rails/console/helpers.rb @@ -4,7 +4,7 @@ module Rails # # This method assumes an +ApplicationController+ exists, and it extends +ActionController::Base+ def helper - @helper ||= ApplicationController.helpers + ApplicationController.helpers end # Gets a new instance of a controller object. |