The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Error: "uninitialized constant ApplicationController (NameError)"

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Huw Collingbourne

Posts: 1254
Nickname: huw
Registered: Nov, 2006

Huw Collingbourne is Director of Technology for the Ruby In Steel IDE
Error: "uninitialized constant ApplicationController (NameError)" Posted: Jul 21, 2007 4:24 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Huw Collingbourne.
Original Post: Error: "uninitialized constant ApplicationController (NameError)"
Feed Title: Ruby In Steel
Feed URL: http://www.sapphiresteel.com/spip.php?page=backend
Feed Description: Developers' Blog of the Ruby In Steel and Amethyst (Adobe Flex) IDEs for Visual Studio
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Huw Collingbourne
Latest Posts From Ruby In Steel

Advertisement
When I run or debug my Rails application, I see a message stating: "\myrailsapp_controller.rb:1: uninitialized constant ApplicationController (NameError)"
It appears that you are trying to run the open Ruby source file rather than the Rails application. The individual source files in Rails apps are not runnable in this way. You need to run the application either by using the One-Click Rails Debugger on the Ruby menu or by altering the behaviour of F5 (and CTRL+F5) to run a Rails application (...)

Read: Error: "uninitialized constant ApplicationController (NameError)"

Topic: Argh! Stop being "clever"! Previous Topic   Next Topic Topic: Not the Usual iPhone Review

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use