Jason, did you ever get this to work?
On 2/6/07, Daniel Sheppard <[EMAIL PROTECTED]> wrote: > Oh, you need to explicitely require 'application' to load the > application controller - The application controller is not loaded until > after the extensions, which means that any reference to a controller > will be unable to load it's superclass (as the class is named > ApplicationController, but it is loaded from an application.rb file - a > default I've never understood about rails, but I'm guessing it served a > historical purpose). > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of jsmorris > > Sent: Tuesday, 6 February 2007 5:37 PM > > To: [email protected] > > Subject: Re: [Radiant] Can you use controllers/views within a tag > > > > I tried to implement your suggestion here, but I was not successful. > > I am not sure I follow what this code is doing...but I am still > > learning ruby. > > > > I attached my attempt. Maybe you or some else can see what is wrong. > > > > This was the error I was getting > > > > /Users/jsmorris/sprout/aztracc/config/../vendor/rails/activere > > cord/lib/../../activesupport/lib/active_support/dependencies.rb:267:in > > `load_missing_constant': uninitialized constant ApplicationController > > (NameError) > > from > _______________________________________________ > Radiant mailing list > Post: [email protected] > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
