5EEEElock!E Locking a record with unpersisted changes is not supported. Use `save` to persist the changes, or `reload` to discard them explicitly.  E with_lockEblock in with_lockE ActiveRecordELockingE PessimisticElockE persisted?Ehas_changes_to_save?EsquishEraiseEreloadE transactionEcore#define_method) 5 @Leq6BNk!Ic|