Commit 889578eb authored by marcheing's avatar marcheing Committed by Diego de Araújo Martinez Camarinha

Remove validation for presence of attached video on encoded content

The attached video will not be associated on creation, only on the
conclusion of a successful zencoder job
parent 6f5c847b
......@@ -3,7 +3,6 @@ class EncodedContent < ApplicationRecord
storage: :s3,
s3_credentials: AWSSettings.to_h,
s3_region: AWSSettings.aws_region
validates_attachment :video, presence: true
validates_attachment_content_type :video, content_type: /\Avideo\/.*\Z/
validates :content_id, :job_id, presence: true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment