uninitialized constant ActionController

T

Tae Hyeon Choe

[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)
NameError: uninitialized constant ActionController

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

Code :

class PhonebookController < ApplicationController
scaffold :person
end
 
R

Roger Pack

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,818
Latest member
Brigette36

Latest Threads

Top