Skip to content

Enable frozen string for app/models/**/*.rb

gfyoung requested to merge (removed):frozen-string-enable-app-models-more into master

What does this MR do?

Enable frozen string literals in app/models/**/*.rb.

In particular, we are covering from application_setting to clusters.

Why was this MR needed?

Because frozen strings require fewer memory allocations, and memory efficiency is a good thing.

What are the relevant issue numbers?

Partially addresses #47424 (closed).

Suggested Reviewers/Approvers/Mergers

@stanhu @godfat @rymai

Merge request reports