FIX: Kernel.open is deprecated (#12387)
This commit is contained in:
parent
9a779ca99a
commit
27386ba714
|
@ -255,6 +255,9 @@ class TopicEmbed < ActiveRecord::Base
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def self.open(uri, **kwargs)
|
||||||
|
URI.open(uri, **kwargs)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# == Schema Information
|
# == Schema Information
|
||||||
|
|
Loading…
Reference in New Issue