activerecord_defer_persist 0.2.0
ActiveRecord defaults to immediately persisting changes to the database on assignments like user.session_ids = [1, 2]. This is a surprising behaviour that this gem aims to fix to be more coherent with regular assignments.
Gemfile:
=
安裝:
=
Runtime 相依性套件 (2):
activerecord
~> 6
activesupport
~> 6