Tracing Rails configuration changes -


an application has config.action_view.cache_template_loading = true in production.rb during rendering of template setting nil. how can trace changed? (obviously, there no other mentions of cache_template_loading in project code, it's changed external dependency)

after you've set value want, can leave booby-trap explodes when else tries set value:

config.action_view.cache_template_loading = true  def (config.action_view).cache_template_loading=(new_value)   raise runtimeerror, "someone reconfigured cache_template-loading" end 

you'll stack trace showing value set.

(obviously, diagnostic tool running locally , not suitable committing code base.)


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -