Skip to content

Enable frozen string in presenters and policies

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

What does this MR do?

Enable frozen string literals in app/presenters/**/*.rb and app/policies/**/*.rb.

Two directories because they're small enough and had no required changes to enable frozen string.

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