diff options
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 |