Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > uninitialized constant ActionController

Reply
Thread Tools

uninitialized constant ActionController

 
 
Tae Hyeon Choe
Guest
Posts: n/a
 
      04-15-2008
[Note: parts of this message were removed to make it a legal post.]

Hi~!

I'm start RoR. but meet error when first program....

Help me....

Error Message :

copy output
RubyMate r8136 running Ruby r1.8.6 (/opt/local/bin/ruby)
>>> application.rb


NameError: uninitialized constant ActionController

at top level in application.rb at line 4
Program exited.

Code :

class PhonebookController < ApplicationController
scaffold erson
end

 
Reply With Quote
 
 
 
 
Roger Pack
Guest
Posts: n/a
 
      04-16-2008
Yeah you'll want to run script/server or script/console.

> at top level in application.rb at line 4
> Program exited.

maybe start a new rails project and start from scratch?
--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ActionController::AbstractRequest.relative_url_root = "/rotspecs" Xeno Campanoli Ruby 0 02-22-2010 11:31 PM
uninitialized constant ActionController (NameError) Martin Gütlein Ruby 1 10-13-2009 10:08 AM
[ANN] Consent: a firewall DSL for ActionController James Coglan Ruby 0 01-03-2009 08:35 PM
ActionMailer view overwriting ActionController view? lgastako@gmail.com Ruby 1 12-29-2006 01:16 AM
Don't understand :: in ActionController::Base Pål Bergström Ruby 7 07-14-2006 07:19 PM



Advertisments