aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2015-10-19 19:41:15 -0600
committerSean Griffin <sean@seantheprogrammer.com>2015-10-19 19:41:15 -0600
commit9be4ea81846b016752467cb0459fc90e1143ebf3 (patch)
tree08060740c532bb843aca72dd6d62c60fa8ab22ea /railties
parent09f057d1933d341b04833815f903b63a904f0328 (diff)
parentfa65b44b28b7c3de3b18b3431a7e76a6bef7f495 (diff)
downloadrails-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.rb2
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.