Fix use of ActiveRecord::Base in CurrentSettings
What does this MR do and why?
Fixes CurrentSettings
to call methods on ApplicationSetting
instead of ActiveRecord::Base
because ActiveRecord::Base
may not be the correct database due to database decomposition.
See #350651 (closed)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #350651 (closed)
Edited by Matt Kasa