Uninitialized constant ActionController

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 :person
end

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?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs