diff options
author | José Valim <jose.valim@gmail.com> | 2010-02-26 12:09:39 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-02-26 12:09:39 +0100 |
commit | e6dffb70e6c1d524eeb5a40e1f8e01b067781143 (patch) | |
tree | efdb6ae7bb7d69db3eb208799cc6a549218ee91c /railties/lib | |
parent | bd36418c512acb62c5515a6cbde79ce59dd67b46 (diff) | |
download | rails-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.rb | 2 |
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 |