activerecord update skip validation
# Step 1: Retrieve the record to be updated from the database
record = ModelName.find(record_id)
# Step 2: Temporarily disable validations for the record
record.save(validate: false)
# Step 3: Update the attributes of the record
record.update_attributes(attribute1: value1, attribute2: value2, ...)
# Step 4: Re-enable validations for the record
record.save(validate: true)