Joshua Partogi
2009-Oct-11 23:22 UTC
Re: constant ActionView::Base::Subclasses:: MainController not defined
On Oct 10, 1:55 pm, Michael Koziarski <mich...@koziarski.com> wrote:> > 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. > > Can you create a ticket for this and assign it to yehuda? He''s been > trying to get that block of code to work cleanly in 1.8.6, 1.8.7 and > 1.9.1, obviously he''s missed something there :)Ok thanks. I thought it''s something I need to re-configure in my app. Kind regards, -- Certified Scrum Master http://twitter.com/scrum8 | http://blog.scrum8.com | http://jobs.scrum8.com
Claudio Poli
2009-Oct-15 02:10 UTC
Re: constant ActionView::Base::Subclasses:: MainController not defined
On 12 Ott, 01:22, Joshua Partogi <joshua.part...@gmail.com> wrote:> On Oct 10, 1:55 pm, Michael Koziarski <mich...@koziarski.com> wrote: > > Can you create a ticket for this and assign it to yehuda? He''s been > > trying to get that block of code to work cleanly in 1.8.6, 1.8.7 and > > 1.9.1, obviously he''s missed something there :)I didn''t find the previous one, but I opened https://rails.lighthouseapp.com/projects/8994/tickets/3378-uninitialized-constant-actionviewbasecontroller_class , seems related.