Skip to content

Add a note about when Rails initializers are executed

Jonas Larsen requested to merge j_lar-add_details_about_rails_initializers into master

What does this MR do and why?

In the Analytics Instrumentation team we where uncertain how often the initializers are executed and if we do code reloading at deploy. Only after asking in the #backend Slack channel we where confident that we could use an initializer for the problem we had at hand.

This little comment tries to prevent that from happening again.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports