diff --git a/app/models/topic_embed.rb b/app/models/topic_embed.rb index 575c5370c3..e86a5bd1fa 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