diff options
author | Yehuda Katz <yehudakatz@YK.local> | 2010-02-27 17:28:29 -0800 |
---|---|---|
committer | Yehuda Katz <yehudakatz@YK.local> | 2010-02-27 17:28:46 -0800 |
commit | b51c0d4d2521ef5e21f767d741252836e5fc5a30 (patch) | |
tree | 4e41c58a9e78a446372c87675be2cda8a3e902ed /railties/lib | |
parent | b1b922d6ea96bca0d0406032b02b1cd4b6e7f6c7 (diff) | |
download | rails-b51c0d4d2521ef5e21f767d741252836e5fc5a30.tar.gz rails-b51c0d4d2521ef5e21f767d741252836e5fc5a30.tar.bz2 rails-b51c0d4d2521ef5e21f767d741252836e5fc5a30.zip |
1.9 doesn't like lambda {} being called with arguments
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 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 |