I can''t figure out why I''m getting the following error. There''s nothing wrong in my communities_controller file. And the helper for communties exists. Any ideas? Thanks, Joe NameError in <controller not set>#<action not set> uninitialized constant CommunitiesHelper app/controllers/communities_controller.rb:1 script/server:48 Show framework trace /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:181:in `const_missing'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/../../inflector.rb:53:in `const_get'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/../../inflector.rb:53:in `constantize'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/../../inflector.rb:52:in `inject'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/../../inflector.rb:52:in `each'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/../../inflector.rb:52:in `inject'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/../../inflector.rb:52:in `constantize'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/inflections.rb:44:in `constantize'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/helpers.rb:64:in `helper'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/helpers.rb:48:in `each'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/helpers.rb:48:in `helper'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/helpers.rb:94:in `inherited_without_api'' /usr/local/lib/ruby/gems/1.8/gems/actionwebservice-0.6.2/lib/action_web_service/container/action_controller_container.rb:86:in `inherited_without_action_controller'' /usr/local/lib/ruby/gems/1.8/gems/actionwebservice-0.6.2/lib/action_web_service/dispatcher/action_controller_dispatcher.rb:33:in `inherited'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:187:in `load'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:187:in `load'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:38:in `require_or_load'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:21:in `depend_on'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:165:in `require_dependency'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:165:in `require_dependency'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:121:in `load_file!'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:90:in `const_load!'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:76:in `each'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:76:in `const_load!'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:69:in `const_missing'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:165:in `const_get'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:165:in `eat_path_to_controller'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:161:in `inject'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:161:in `each'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:161:in `inject'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:161:in `eat_path_to_controller'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:115:in `recognize'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:109:in `each'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:109:in `recognize'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:278:in `recognize!'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:277:in `each'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:230:in `each'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:230:in `each'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:277:in `recognize!'' /usr/local/lib/ruby/gems/1.8/gems/rails-0.11.1/lib/dispatcher.rb:32:in `dispatch'' /usr/home/joevd/domains/thejerrymahangroup.com/site/public/dispatch.rb:10 /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:187:in `load'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:187:in `load'' /usr/local/lib/ruby/gems/1.8/gems/rails-0.11.1/lib/webrick_server.rb:84:in `handle_dispatch'' /usr/local/lib/ruby/gems/1.8/gems/rails-0.11.1/lib/webrick_server.rb:35:in `do_GET'' /usr/local/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `__send__'' /usr/local/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `service'' /usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'' /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'' /usr/local/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'' /usr/local/lib/ruby/1.8/webrick/server.rb:144:in `start'' /usr/local/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'' /usr/local/lib/ruby/1.8/webrick/server.rb:94:in `start'' /usr/local/lib/ruby/1.8/webrick/server.rb:89:in `each'' /usr/local/lib/ruby/1.8/webrick/server.rb:89:in `start'' /usr/local/lib/ruby/1.8/webrick/server.rb:79:in `start'' /usr/local/lib/ruby/1.8/webrick/server.rb:79:in `start'' /usr/local/lib/ruby/gems/1.8/gems/rails-0.11.1/lib/webrick_server.rb:21:in `dispatch'' This error occured while loading the following files: ./script/../config/../app/controllers/communities_controller.rb
Is there any more information that I can give? It happened during the upgrade from 0.10 to 0.11.1. I ran "rails ." and answered yes for everything. Nothing is was changed. And I get that error only in one controller. On Apr 6, 2005 2:07 PM, Joe Van Dyk <joevandyk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I can''t figure out why I''m getting the following error. There''s > nothing wrong in my communities_controller file. And the helper for > communties exists. > > Any ideas? > > Thanks, > Joe > > NameError in <controller not set>#<action not set> > > uninitialized constant CommunitiesHelper > > app/controllers/communities_controller.rb:1 > script/server:48 > > Show framework trace > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:181:in > `const_missing'' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/../../inflector.rb:53:in > `const_get'' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/../../inflector.rb:53:in > `constantize'' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/../../inflector.rb:52:in > `inject'' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/../../inflector.rb:52:in > `each'' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/../../inflector.rb:52:in > `inject'' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/../../inflector.rb:52:in > `constantize'' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/inflections.rb:44:in > `constantize'' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/helpers.rb:64:in > `helper'' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/helpers.rb:48:in > `each'' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/helpers.rb:48:in > `helper'' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/helpers.rb:94:in > `inherited_without_api'' > /usr/local/lib/ruby/gems/1.8/gems/actionwebservice-0.6.2/lib/action_web_service/container/action_controller_container.rb:86:in > `inherited_without_action_controller'' > /usr/local/lib/ruby/gems/1.8/gems/actionwebservice-0.6.2/lib/action_web_service/dispatcher/action_controller_dispatcher.rb:33:in > `inherited'' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:187:in > `load'' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:187:in > `load'' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:38:in > `require_or_load'' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:21:in > `depend_on'' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:165:in > `require_dependency'' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:165:in > `require_dependency'' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:121:in > `load_file!'' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:90:in > `const_load!'' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:76:in > `each'' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:76:in > `const_load!'' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:69:in > `const_missing'' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:165:in > `const_get'' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:165:in > `eat_path_to_controller'' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:161:in > `inject'' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:161:in > `each'' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:161:in > `inject'' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:161:in > `eat_path_to_controller'' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:115:in > `recognize'' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:109:in > `each'' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:109:in > `recognize'' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:278:in > `recognize!'' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:277:in > `each'' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:230:in > `each'' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:230:in > `each'' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:277:in > `recognize!'' > /usr/local/lib/ruby/gems/1.8/gems/rails-0.11.1/lib/dispatcher.rb:32:in > `dispatch'' > /usr/home/joevd/domains/thejerrymahangroup.com/site/public/dispatch.rb:10 > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:187:in > `load'' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:187:in > `load'' > /usr/local/lib/ruby/gems/1.8/gems/rails-0.11.1/lib/webrick_server.rb:84:in > `handle_dispatch'' > /usr/local/lib/ruby/gems/1.8/gems/rails-0.11.1/lib/webrick_server.rb:35:in > `do_GET'' > /usr/local/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `__send__'' > /usr/local/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `service'' > /usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'' > /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'' > /usr/local/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'' > /usr/local/lib/ruby/1.8/webrick/server.rb:144:in `start'' > /usr/local/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'' > /usr/local/lib/ruby/1.8/webrick/server.rb:94:in `start'' > /usr/local/lib/ruby/1.8/webrick/server.rb:89:in `each'' > /usr/local/lib/ruby/1.8/webrick/server.rb:89:in `start'' > /usr/local/lib/ruby/1.8/webrick/server.rb:79:in `start'' > /usr/local/lib/ruby/1.8/webrick/server.rb:79:in `start'' > /usr/local/lib/ruby/gems/1.8/gems/rails-0.11.1/lib/webrick_server.rb:21:in > `dispatch'' > > This error occured while loading the following files: > ./script/../config/../app/controllers/communities_controller.rb >
And I have a helper for that controller. On Apr 6, 2005 4:49 PM, Joe Van Dyk <joevandyk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Is there any more information that I can give? > > It happened during the upgrade from 0.10 to 0.11.1. I ran "rails ." > and answered yes for everything. Nothing is was changed. > > And I get that error only in one controller. > > On Apr 6, 2005 2:07 PM, Joe Van Dyk <joevandyk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > I can''t figure out why I''m getting the following error. There''s > > nothing wrong in my communities_controller file. And the helper for > > communties exists. > > > > Any ideas? > > > > Thanks, > > Joe > > > > NameError in <controller not set>#<action not set> > > > > uninitialized constant CommunitiesHelper > > > > app/controllers/communities_controller.rb:1 > > script/server:48 > > > > Show framework trace > > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:181:in > > `const_missing'' > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/../../inflector.rb:53:in > > `const_get'' > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/../../inflector.rb:53:in > > `constantize'' > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/../../inflector.rb:52:in > > `inject'' > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/../../inflector.rb:52:in > > `each'' > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/../../inflector.rb:52:in > > `inject'' > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/../../inflector.rb:52:in > > `constantize'' > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/inflections.rb:44:in > > `constantize'' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/helpers.rb:64:in > > `helper'' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/helpers.rb:48:in > > `each'' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/helpers.rb:48:in > > `helper'' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/helpers.rb:94:in > > `inherited_without_api'' > > /usr/local/lib/ruby/gems/1.8/gems/actionwebservice-0.6.2/lib/action_web_service/container/action_controller_container.rb:86:in > > `inherited_without_action_controller'' > > /usr/local/lib/ruby/gems/1.8/gems/actionwebservice-0.6.2/lib/action_web_service/dispatcher/action_controller_dispatcher.rb:33:in > > `inherited'' > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:187:in > > `load'' > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:187:in > > `load'' > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:38:in > > `require_or_load'' > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:21:in > > `depend_on'' > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:165:in > > `require_dependency'' > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:165:in > > `require_dependency'' > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:121:in > > `load_file!'' > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:90:in > > `const_load!'' > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:76:in > > `each'' > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:76:in > > `const_load!'' > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:69:in > > `const_missing'' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:165:in > > `const_get'' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:165:in > > `eat_path_to_controller'' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:161:in > > `inject'' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:161:in > > `each'' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:161:in > > `inject'' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:161:in > > `eat_path_to_controller'' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:115:in > > `recognize'' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:109:in > > `each'' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:109:in > > `recognize'' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:278:in > > `recognize!'' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:277:in > > `each'' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:230:in > > `each'' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:230:in > > `each'' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:277:in > > `recognize!'' > > /usr/local/lib/ruby/gems/1.8/gems/rails-0.11.1/lib/dispatcher.rb:32:in > > `dispatch'' > > /usr/home/joevd/domains/thejerrymahangroup.com/site/public/dispatch.rb:10 > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:187:in > > `load'' > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:187:in > > `load'' > > /usr/local/lib/ruby/gems/1.8/gems/rails-0.11.1/lib/webrick_server.rb:84:in > > `handle_dispatch'' > > /usr/local/lib/ruby/gems/1.8/gems/rails-0.11.1/lib/webrick_server.rb:35:in > > `do_GET'' > > /usr/local/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `__send__'' > > /usr/local/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `service'' > > /usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'' > > /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'' > > /usr/local/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'' > > /usr/local/lib/ruby/1.8/webrick/server.rb:144:in `start'' > > /usr/local/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'' > > /usr/local/lib/ruby/1.8/webrick/server.rb:94:in `start'' > > /usr/local/lib/ruby/1.8/webrick/server.rb:89:in `each'' > > /usr/local/lib/ruby/1.8/webrick/server.rb:89:in `start'' > > /usr/local/lib/ruby/1.8/webrick/server.rb:79:in `start'' > > /usr/local/lib/ruby/1.8/webrick/server.rb:79:in `start'' > > /usr/local/lib/ruby/gems/1.8/gems/rails-0.11.1/lib/webrick_server.rb:21:in > > `dispatch'' > > > > This error occured while loading the following files: > > ./script/../config/../app/controllers/communities_controller.rb > > >
Aha. The helper in the community had the wrong name in it (CommunityHelper instead of CommunitiesHelper). Apparently, that''s a problem in 0.11.1. BIG THANKS to Ulysses in IRC. I had been stuck on that for a couple hours. On Apr 6, 2005 5:12 PM, Joe Van Dyk <joevandyk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> And I have a helper for that controller. > > On Apr 6, 2005 4:49 PM, Joe Van Dyk <joevandyk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Is there any more information that I can give? > > > > It happened during the upgrade from 0.10 to 0.11.1. I ran "rails ." > > and answered yes for everything. Nothing is was changed. > > > > And I get that error only in one controller. > > > > On Apr 6, 2005 2:07 PM, Joe Van Dyk <joevandyk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > I can''t figure out why I''m getting the following error. There''s > > > nothing wrong in my communities_controller file. And the helper for > > > communties exists. > > > > > > Any ideas? > > > > > > Thanks, > > > Joe > > > > > > NameError in <controller not set>#<action not set> > > > > > > uninitialized constant CommunitiesHelper > > > > > > app/controllers/communities_controller.rb:1 > > > script/server:48 > > > > > > Show framework trace > > > > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:181:in > > > `const_missing'' > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/../../inflector.rb:53:in > > > `const_get'' > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/../../inflector.rb:53:in > > > `constantize'' > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/../../inflector.rb:52:in > > > `inject'' > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/../../inflector.rb:52:in > > > `each'' > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/../../inflector.rb:52:in > > > `inject'' > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/../../inflector.rb:52:in > > > `constantize'' > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/inflections.rb:44:in > > > `constantize'' > > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/helpers.rb:64:in > > > `helper'' > > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/helpers.rb:48:in > > > `each'' > > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/helpers.rb:48:in > > > `helper'' > > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/helpers.rb:94:in > > > `inherited_without_api'' > > > /usr/local/lib/ruby/gems/1.8/gems/actionwebservice-0.6.2/lib/action_web_service/container/action_controller_container.rb:86:in > > > `inherited_without_action_controller'' > > > /usr/local/lib/ruby/gems/1.8/gems/actionwebservice-0.6.2/lib/action_web_service/dispatcher/action_controller_dispatcher.rb:33:in > > > `inherited'' > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:187:in > > > `load'' > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:187:in > > > `load'' > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:38:in > > > `require_or_load'' > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:21:in > > > `depend_on'' > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:165:in > > > `require_dependency'' > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:165:in > > > `require_dependency'' > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:121:in > > > `load_file!'' > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:90:in > > > `const_load!'' > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:76:in > > > `each'' > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:76:in > > > `const_load!'' > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:69:in > > > `const_missing'' > > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:165:in > > > `const_get'' > > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:165:in > > > `eat_path_to_controller'' > > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:161:in > > > `inject'' > > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:161:in > > > `each'' > > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:161:in > > > `inject'' > > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:161:in > > > `eat_path_to_controller'' > > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:115:in > > > `recognize'' > > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:109:in > > > `each'' > > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:109:in > > > `recognize'' > > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:278:in > > > `recognize!'' > > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:277:in > > > `each'' > > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:230:in > > > `each'' > > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:230:in > > > `each'' > > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/routing.rb:277:in > > > `recognize!'' > > > /usr/local/lib/ruby/gems/1.8/gems/rails-0.11.1/lib/dispatcher.rb:32:in > > > `dispatch'' > > > /usr/home/joevd/domains/thejerrymahangroup.com/site/public/dispatch.rb:10 > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:187:in > > > `load'' > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:187:in > > > `load'' > > > /usr/local/lib/ruby/gems/1.8/gems/rails-0.11.1/lib/webrick_server.rb:84:in > > > `handle_dispatch'' > > > /usr/local/lib/ruby/gems/1.8/gems/rails-0.11.1/lib/webrick_server.rb:35:in > > > `do_GET'' > > > /usr/local/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `__send__'' > > > /usr/local/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `service'' > > > /usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'' > > > /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'' > > > /usr/local/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'' > > > /usr/local/lib/ruby/1.8/webrick/server.rb:144:in `start'' > > > /usr/local/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'' > > > /usr/local/lib/ruby/1.8/webrick/server.rb:94:in `start'' > > > /usr/local/lib/ruby/1.8/webrick/server.rb:89:in `each'' > > > /usr/local/lib/ruby/1.8/webrick/server.rb:89:in `start'' > > > /usr/local/lib/ruby/1.8/webrick/server.rb:79:in `start'' > > > /usr/local/lib/ruby/1.8/webrick/server.rb:79:in `start'' > > > /usr/local/lib/ruby/gems/1.8/gems/rails-0.11.1/lib/webrick_server.rb:21:in > > > `dispatch'' > > > > > > This error occured while loading the following files: > > > ./script/../config/../app/controllers/communities_controller.rb > > > > > >