diff --git a/app/models/topic_embed.rb b/app/models/topic_embed.rb index 575c5370c37..e86a5bd1fa5 100644 --- a/app/models/topic_embed.rb +++ b/app/models/topic_embed.rb @@ -255,6 +255,9 @@ class TopicEmbed < ActiveRecord::Base end end + def self.open(uri, **kwargs) + URI.open(uri, **kwargs) + end end # == Schema Information