views:

39

answers:

2

Hello,

Im new to Ruby On Rails.Im using Ruby version 1.8.7 and Rails version 2.3.8.I created a controller SayHello using

ruby script/generate controller SayHello

The application works as expected, but i cant find the application.rb file. Where is the application.rb file located ?

Please Help Thank You

A: 

This file is new to rails 3, in rails 2 most of the things now in application.rb are in the environment.rb.

jigfox
application.rb new in rails 3?!!
Vijay Dev
The `config/application.rb` I meant is new to rails 3. didn't thought of that the OP could mean the controller.
jigfox
+3  A: 

I assume you're looking for the application controller which was named application.rb prior to rails 2.3 but is since application_controller.rb.

http://guides.rubyonrails.org/2_3_release_notes.html#application-controller-renamed

controllers>application_controller.rb

mark