They
changed application_controller.rb to application.rb in 2.3 or vice
versa. I spent 3 hours solving this last week. Just copy the existing
file into the new name (leave the old file for now) and try it.

Thanks,
Al Snow
Linkedin: http://www.linkedin.com/in/alsnow
Google Talk: jasnow1
Twitter: jasnow






> Date: Sat, 30 May 2009 12:12:00 -0700
> Subject: [rails-development] Re: Cannot derive from ApplicationController
> From: [email protected]
> To: [email protected]
> 
> 
> 
> 
> On May 30, 9:01 pm, westhielke <[email protected]> wrote:
> > I am trying to run the Depot application example, but I get the
> > following:
> >
> >  NameError in StoreController#index
> >
> > uninitialized constant ApplicationController
> >
> I'm not sure, since I'm just in the process of upgrading an
> application to rails 2.3.2, but did you run:
> rake rails:update
> ?
> 
> as explained here: http://wiki.rubyonrails.org/getting-started/upgrading
> in pin... section
> 
> The depot application is very old, so I guess there are a number of
> changes to make in the application for it to work correctly.
> What you may try is creating a new application in rails 2.3.2 and then
> compare the config, boot, etc parts.
> Sorry for not being very helpful here.
> > 

_________________________________________________________________
HotmailĀ® has a new way to see what's up with your friends.
http://windowslive.com/Tutorial/Hotmail/WhatsNew?ocid=TXT_TAGLM_WL_HM_Tutorial_WhatsNew1_052009
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "ruby-on-rails-programming-with-passion" group.
To unsubscribe from this group, send email to
ruby-on-rails-programming-with-passion-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/ruby-on-rails-programming-with-passion?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to