Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Maintain compatibility with earlier nil-values fix from main (#1136)
An earlier commit on main (#d5422b46 in PR #1136) fixed a subtle issue when overriding default values with nil, by explicitly setting `.created_at` and other attributes from the existing item when it was being replaced. This caused issues on this PostgreSQL branch after rebasing, as ActiveRecord behaves more as expected with respect to `created_at` and therefore the line creating a local `created_at` variable had been removed. This commit reintroduces that variable, and tests now pass again.
- Loading branch information