Velocity Reviews - Computer Hardware Reviews

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

Thread Tools

uninitialized constant ActionController

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


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

Reply With Quote
Roger Pack
Posts: n/a
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

Reply With Quote

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? 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