Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

[PATCH] Deprecated Calls in Rails Console

#4072

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.

Reported by siong1987 · February 28th, 2010 @ 08:38 AM

State: committed
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Repository
    Repository
    • 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 [PATCH] Deprecated Calls in Rails Console state:committed]

    Signed-off-by: Jeremy Kemper jeremy@bitsweat.net
    http://github.com/rails/rails/commit/eca46e3102399dc15f0462188e129e...

    March 3rd, 2010 @ 05:56 AM