Hello!
My application is working fine. But when I try to go to script/console
strange things happens...
All controllers are broken just after hitting "reload!". I think it is
because of ApplicationController. When I try to init any controller it
says "NameError: uninitialized constant ApplicationController".
ApplicationController is located in app/controllers/application.rb,
Rails v. 1.1.6
Here is log:
ruby script/console
Loading development environment.>> ApplicationController
=> ApplicationController>> reload!
Reloading...
=> [User, ApplicationController, MailNotifier]>> ApplicationController
NameError: uninitialized constant ApplicationController
from
D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib
/active_support/dependencies.rb:123:in
`enumerations_original_const_missing''
from
./script/../config/../config/../vendor/plugins/trunk/lib/active_rec
ord/virtual_enumerations.rb:63:in `const_missing''
from
D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib
/active_support/dependencies.rb:131:in `const_missing''
from (irb):3>>
Does someone have any ideas? Thank you.
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---