method

upload

upload()
public

No documentation available.

# File activestorage/lib/active_storage/attached/changes/create_one.rb, line 23
    def upload
      case attachable
      when ActionDispatch::Http::UploadedFile, Rack::Test::UploadedFile
        blob.upload_without_unfurling(attachable.open)
      when Hash
        blob.upload_without_unfurling(attachable.fetch(:io))
      end
    end