Project

General

Profile

Actions

Defect #32912

closed

Rails 6: update no longer bypass optimistic locking

Added by Pavel Rosický about 4 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Rails support
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

fixes test failures

 ActiveRecord::StaleObjectError: Attempted to update a stale object: Issue.
    app/models/issue.rb:214:in `create_or_update'

https://github.com/rails/rails/commit/c14e1611e94a7461f219b4349e926592e65241ad


Files

stale.patch (3.19 KB) stale.patch Pavel Rosický, 2020-01-29 00:35

Related issues

Related to Redmine - Feature #29914: Migrate to Rails 6.1 with Zeitwerk autoloadingClosedGo MAEDA

Actions
Actions

Also available in: Atom PDF