Skip to content

Commit fc19243

Browse files
committed
Fix SafeBuffer#as_json
1 parent e1b0afc commit fc19243

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activesupport/lib/active_support/core_ext/string/output_safety.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def to_s
139139
self
140140
end
141141

142-
def as_json
142+
def as_json(*)
143143
to_str
144144
end
145145

0 commit comments

Comments
 (0)