First I put it right below
require File.join(File.dirname(__FILE__), 'boot')
and then I tried moving it to
Rails::Initializer.run do |config|
APP_TEXT =
(HashWithIndifferentAccess).new(YAML::load(File.open("#{RAILS_ROOT}/config/strings.yml")))
however this does not work.
reHa wrote:
> Hi,
>
> Do you put this line APP_TEXT = ...
> at the end or beginning of the environment.rb file?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---