This project is archived and is in readonly mode.
constant ActionView::Base::Subclasses:: MainController not defined
Reported by Joshua Partogi | October 12th, 2009 @ 12:19 AM
Today I checked out the latest version 3.0 and it currently breaks my app. When I open my app from the browser I encounter this error:
NameError in MainController#index constant
ActionView::Base::Subclasses::MainController not defined<br/>
/rails/actionpack/lib/action_view/base.rb:242:in
remove_const'
When I go to action_view/base.rb and remarked this line:
Subclasses.class_eval do
remove_const(name) if const_defined?(name) const_set(name, self)
end
It seems to work fine again.
There seems to be an unfinished work there because I saw this
comment line:
#Decouple this so helpers are a separate concern in AV just
like.
Comments and changes to this ticket
-
Rohit Arondekar October 6th, 2010 @ 06:40 AM
- 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.
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>