我想做这样的事情
config.default_host = 'www.subdomain.example.com'
Run Code Online (Sandbox Code Playgroud)
在我的一些配置文件中,object_urlhelpers(ActionView::Helpers::UrlHelper)生成以http://www.subdomain.example.com开头的链接
我试图搜索文档,但除了ActionMailer文档和http://api.rubyonrails.org/classes/Rails/Configuration.html之外我没有找到任何对我没用的东西,因为我不知道在哪个方面看起来.有没有描述Rails :: Initializer.config整个结构的地方?