Rails 2.3.2 issue with loading global constants file

Hello,

I’m trying to upgrade to Rails 2.3.2. I have been using global constants
file: config/global_constants.conf.rb

which I would use this way in controller: require
‘global_constants.conf’

In Rails 2.3.2 I’m getting the following error:

no such file to load – global_constants.conf

Do I have to put the file somewhere else?

Thanks,

Tam

I actually resolved the problem by doing something like:
require ‘./config/global_constants.conf’
it used to work in Rails 2.0.2 by just putting require
‘global_constants.conf’ but not in Rails 2.3.2
THanks,

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