阅读背景:

如何更改Rails 3中的初始化器的加载顺序?

来源:互联网 

I have an initializer that loads configuration settings from a yaml file. I need to use these settings in other initializers. The settings are not being seen by the initializers that need them. What I think is happening is the settings are getting loaded too late. How do I guaranty that my configuration initializer gets loaded first? Is it un-rails like to have initializers depend on another?I have an initializer that loads configuration




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: