We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When running tests on my project with RUBYOPT=--enable=frozen_string_literal -W:deprecated, I see this error:
RUBYOPT=--enable=frozen_string_literal -W:deprecated
ActionView::Template::Error: can't modify frozen String: ""
This traces back to line 108 in link_renderer.rb, which is attempting to << into an empty string created on line 106.
<<
If you alter line 106 to either of the following options, this problem should go away:
string_attributes = attributes.inject(''.dup) do |attrs, pair|
or
string_attributes = attributes.inject(+'') do |attrs, pair|
The latter option may be incompatible with early versions of Ruby.
The text was updated successfully, but these errors were encountered:
Thank you for reporting!
Fixed in #651
Sorry, something went wrong.
No branches or pull requests
When running tests on my project with
RUBYOPT=--enable=frozen_string_literal -W:deprecated
, I see this error:This traces back to line 108 in link_renderer.rb, which is attempting to
<<
into an empty string created on line 106.If you alter line 106 to either of the following options, this problem should go away:
or
The latter option may be incompatible with early versions of Ruby.
The text was updated successfully, but these errors were encountered: