You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rubinius will raise a TypeError, should you try String.dup, whereas
MRI has no problem with it. As such, this change marks String as un-
duplicable with respect to ActiveSupports' #duplicable? method, used
by #deep_dup. Since this change isn't in upstream ActiveSupport, I
also forced the backport to always be loaded (this could be changed
to just a monkeypatch of the String class, though).
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,14 @@
1
1
Next Release
2
2
============
3
3
4
+
#### Features
5
+
4
6
* Your contribution here.
5
7
8
+
#### Fixes
9
+
10
+
*[#1038](https://github.com/intridea/grape/pull/1038): Avoid dup-ing the String class when used in inherited params - [@rnubel](https://github.com/rnubel).
0 commit comments