Module: RailsCom::AttachmentPrepend

Defined in:
lib/rails_com/active_storage/attachment_prepend.rb

Instance Method Summary collapse

Instance Method Details

#identify_blobObject


3
4
5
6
7
8
# File 'lib/rails_com/active_storage/attachment_prepend.rb', line 3

def identify_blob
  if record.respond_to? "sync_#{name}"
    record.send "sync_#{name}"
  end
  blob.identify_later
end