Its just a normal method defined in application_helper... I assume its an instance method of the helper, it is not defined as 'def self.method' Its defined as: 'def class_current_controller?'
Thanks On Aug 5, 5:14 am, "Jeffrey L. Taylor" <[email protected]> wrote: > Quoting Adam Wilson <[email protected]>: > > > > > > > I am having some trouble with an old app I need to work on.. > > > I have managed to get it mostly working with Rails 2.3, > > but I have run into this problem: > > > undefined method `class_current_controller?' for > > #<ActionView::Base:0x224c6a4> > > > class_current_controller? is defined in application_helper.rb > > > it should be finding it no? > > not sure what is going on here.. > > > I tried writing a test method and calling that from the layout just to > > make sure and I get the same problem. > > Is class_current_controller? a instance or a class method? > > Jeffrey --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

