aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-02-26 12:09:39 +0100
committerJosé Valim <jose.valim@gmail.com>2010-02-26 12:09:39 +0100
commite6dffb70e6c1d524eeb5a40e1f8e01b067781143 (patch)
treeefdb6ae7bb7d69db3eb208799cc6a549218ee91c /railties/lib
parentbd36418c512acb62c5515a6cbde79ce59dd67b46 (diff)
downloadrails-e6dffb70e6c1d524eeb5a40e1f8e01b067781143.tar.gz
rails-e6dffb70e6c1d524eeb5a40e1f8e01b067781143.tar.bz2
rails-e6dffb70e6c1d524eeb5a40e1f8e01b067781143.zip
reload! on console now works as expected. [#3822 status:resolved]
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/rails/console/app.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/console/app.rb b/railties/lib/rails/console/app.rb
index 7e8fd027e6..4524aca809 100644
--- a/railties/lib/rails/console/app.rb
+++ b/railties/lib/rails/console/app.rb
@@ -26,7 +26,7 @@ end
# reloads the environment
def reload!(print=true)
puts "Reloading..." if print
- ActionDispatch::Callbacks.new(lambda {}, false)
+ ActionDispatch::Callbacks.new(lambda {}, false).call({})
true
end