diff options
author | Yehuda Katz <yehudakatz@YK.local> | 2010-02-27 17:29:28 -0800 |
---|---|---|
committer | Yehuda Katz <yehudakatz@YK.local> | 2010-02-27 17:29:28 -0800 |
commit | 6ffc8364dc7cc40312364f2e5978021c3e7d8ab9 (patch) | |
tree | 2e072d747d1dbfcb17a05ba1ddac01c2c0d60350 /railties/lib | |
parent | b51c0d4d2521ef5e21f767d741252836e5fc5a30 (diff) | |
download | rails-6ffc8364dc7cc40312364f2e5978021c3e7d8ab9.tar.gz rails-6ffc8364dc7cc40312364f2e5978021c3e7d8ab9.tar.bz2 rails-6ffc8364dc7cc40312364f2e5978021c3e7d8ab9.zip |
Explain why we're calling an empty callback
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/console/app.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |