FIX: Kernel.open is deprecated (#12387)

This commit is contained in:
Daniel Waterworth 2021-03-12 12:42:32 -06:00 committed by GitHub
parent 9a779ca99a
commit 27386ba714
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -255,6 +255,9 @@ class TopicEmbed < ActiveRecord::Base
end
end
def self.open(uri, **kwargs)
URI.open(uri, **kwargs)
end
end
# == Schema Information