This project is archived and is in readonly mode.

#3378 ✓stale
Claudio Poli

uninitialized constant ActionView::Base::CONTROLLER_CLASS

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

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"

Comments and changes to this ticket

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>

Pages