From 6ffc8364dc7cc40312364f2e5978021c3e7d8ab9 Mon Sep 17 00:00:00 2001 From: Yehuda Katz Date: Sat, 27 Feb 2010 17:29:28 -0800 Subject: Explain why we're calling an empty callback --- railties/lib/rails/console/app.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'railties') diff --git a/railties/lib/rails/console/app.rb b/railties/lib/rails/console/app.rb index f62d1c14ba..4959e18e33 100644 --- a/railties/lib/rails/console/app.rb +++ b/railties/lib/rails/console/app.rb @@ -26,6 +26,7 @@ end # reloads the environment def reload!(print=true) puts "Reloading..." if print + # This triggers the to_prepare callbacks ActionDispatch::Callbacks.new(Proc.new {}, false).call({}) true end -- cgit v1.2.3