Hash#stringify_keys breaks in Rails 5.2.0
kleinjm opened this issue · 1 comments
kleinjm commented
Not exactly sure what's causing this to break but I'm getting this error after upgrading my app to rails 5.2.0.
pry(main)> Recipe.new
FrozenError: can't modify frozen Hash
from /Users/jklein/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/wunderlist-api-1.1.2/lib/wunderlist/helper.rb:62:in `replace'
Related to this code
wunderlist-api/lib/wunderlist/helper.rb
Lines 61 to 63 in 9ca337d
Feel free to pull my app, add your gem back and try creating a new recipe.
kleinjm commented
Fixed in my fork if you care
https://github.com/kleinjm/wunderlist-api/commit/76f1f307637b1831adcc9d98237e54f3953f0522