This project is archived and is in readonly mode.

#1452 ✓resolved
Craig Davey

Fix for undefined method `reload!' via uninitialized constant ActionController::Integration::Session::Test

Reported by Craig Davey | November 24th, 2008 @ 02:56 AM

With REVISION_95072a6846a1898bddfd983c6f951ac0de5c511d


$ ./script/console
Loading development environment (Rails 2.3.0)
vendor/rails/activesupport/lib/active_support/dependencies.rb:102:in `const_missing':NameError: uninitialized constant ActionController::Integration::Session::Test
>> reload!
NoMethodError: undefined method `reload!' for #<Object:0x33499c @controller=#<ApplicationController:0x3525a64>>
        from (irb):1

Attached patch requires "test/unit/assertions" in integration.rb

Comments and changes to this ticket

  • Craig Davey

    Craig Davey November 24th, 2008 @ 02:57 AM

    • Title changed from “undefined method `reload!' via uninitialized constant ActionController::Integration::Session::Test” to “Fix for undefined method `reload!' via uninitialized constant ActionController::Integration::Session::Test”
  • josh

    josh November 24th, 2008 @ 05:39 AM

    • Milestone cleared.
    • State changed from “new” to “open”
    • Assigned user set to “josh”

    Probably related to autoloading stuff

  • Repository

    Repository November 24th, 2008 @ 04:21 PM

    • State changed from “open” to “resolved”
    • Tag changed from patch to autoload, patch

    (from [5ffd1e0c02e605158efc08f3cbb6aebb79978553]) Ensure integration test is load in script/console [#1452 state:resolved] http://github.com/rails/rails/co...

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

Pages