Skip to content
This repository was archived by the owner on Dec 12, 2021. It is now read-only.

Conversation

r7kamura
Copy link

@r7kamura r7kamura commented Dec 1, 2020

When I tried to upgrade Ruby version from 2.6 to 2.7, I had a problem with FrozenError from #nested_form_for.

capture may return nil, and nil.to_s is frozen from Ruby 2.7.

Ruby 2.6

$ ruby -e 'p nil.to_s.frozen?'
false

Ruby 2.7

$ ruby -e 'p nil.to_s.frozen?'
true

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant