Skip to content

Conversation

@kichik
Copy link

@kichik kichik commented Jan 24, 2025

Ruby 3.4 enables frozen string literal warnings by default. Future versions will make this warning an error. This simple patch gets rid of the warnings by creating new string objects. Technically it is probably better to use StringIO for these big strings, but this is a development only gem so I chose simplicity.

kichik added a commit to threecolts/rails-footnotes that referenced this pull request Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant