Exception: ActiveStorage::AwsRecord::VariantRecord::CreateConflict
- Inherits:
-
StandardError
- Object
- StandardError
- ActiveStorage::AwsRecord::VariantRecord::CreateConflict
- Defined in:
- lib/active_storage/aws_record/variant_record.rb
Overview
Raised internally when the variant row already exists (the conditional Put lost the race), so create_or_find_by! can fall back to find —while genuine post-write failures (e.g. the image attachment) propagate.