This project is archived and is in readonly mode.
[PATCH] Deprecated Calls in Rails Console
Reported by siong1987 | February 28th, 2010 @ 08:38 AM
When I was looking at fixing the reload bug last week, I found that there are some deprecated calls in Rails Console in 3.0.
railties/lib/rails/console/app.rb
- app = ActionController::Dispatcher.new - session =
ActionController::Integration::Session.new(app)
This is just a simple patch and it passes all the tests. I guess someone in the Core team might have just overlooked it.
Comments and changes to this ticket
-
Repository March 3rd, 2010 @ 05:56 AM
- State changed from new to committed
(from [eca46e3102399dc15f0462188e129e1ee25bd69f]) Use non-deprecated Rails.application instead of ActionController::Dispatcher.new and ActionDispatch::Integration instead of ActionController::Integration for console.
[#4072 state:committed]
Signed-off-by: Jeremy Kemper jeremy@bitsweat.net
http://github.com/rails/rails/commit/eca46e3102399dc15f0462188e129e...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Referenced by
- 4072 [PATCH] Deprecated Calls in Rails Console [#4072 state:committed]