运行rails控制台时,我Rails.configuration.secret_key_base在开发环境中的调用会保持返回nil.
#secrets.yml
development:
secret_key_base: the-long-secret-generated-by-rake-secret
#...other configs, a call while running heroku rails c in production also returns nil
Run Code Online (Sandbox Code Playgroud)
怎么会这样?运行导轨4.1.0