I ussually add my things after the initializer - mybe try this way

Rails::Initializer.run do |config|
  #standard stuff
end

#my stuff
APP_TEXT = ....


On 29 Paź, 20:43, Daniel Fac <[EMAIL PROTECTED]> wrote:
> 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 viahttp://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to