diff options
-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 4524aca809..f62d1c14ba 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).call({}) + ActionDispatch::Callbacks.new(Proc.new {}, false).call({}) true end |