A platform for community discussion. Free, open, simple.
FIX: Kernel.open is deprecated (#12387)
Daniel Waterworth27386ba714ea
diff --git a/app/models/topic_embed.rb b/app/models/topic_embed.rbindex 575c5370c37..e86a5bd1fa5 100644--- a/app/models/topic_embed.rb+++ b/app/models/topic_embed.rb@@ -255,6 +255,9 @@ class TopicEmbed < ActiveRecord::Baseendend+ def self.open(uri, **kwargs)+ URI.open(uri, **kwargs)+ endend# == Schema Information