diff --git a/app/models/media_attachment.rb b/app/models/media_attachment.rb index 3beb96e3a3..835287ac9e 100644 --- a/app/models/media_attachment.rb +++ b/app/models/media_attachment.rb @@ -12,10 +12,6 @@ class MediaAttachment < ApplicationRecord end def file_remote_url=(url) - unless self[:file_remote_url] == url - self.file = URI.parse(url) - end - - self[:file_remote_url] = url + self.file = URI.parse(url) end end