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.

uninitialized constant ActionView::Base::CONTROLLER_CLASS

#3378

hi,
please see the trace: http://pastie.org/655201 and comments in this commit:http://github.com/rails/rails/commit/ee37ff46e9ad381a8331a6a3deed00...

quick recap:

using ruby 1.8.7 when rails edge is asked the new def self.name in actionpack/lib/action_view this happens:

1) CONTROLLER_CLASS doesn't get defined
2) if ever it's defined will fail at activesupport/lib/active_support/configurable on module_parts.each {|name| modules.push modules.last.const_get(name) } because const_get wants a constant instead of a string like "ActionView for MyController"

Reported by Claudio Poli · October 14th, 2009 @ 10:52 PM

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

Activity

  1. Rohit Arondekar
    Rohit Arondekar
    • State changed from new to stale
    • Importance changed from to

    Marking ticket as stale. If this is still an issue please leave a comment with suggested changes, creating a patch with tests, rebasing an existing patch or just confirming the issue on a latest release or master/branches.

    October 6th, 2010 @ 06:35 AM

  2. bingbing