📝
article
github.com
·
August 25, 2026
ActiveRecord with update_all/delete_all with returning option
activerecord-returning adds a returning option to update_all and delete_all, so you can find out which records were actually affected instead of only how many.
https://github.com/igorkasyanchuk/activerecord-returning - this could be useful to know what actual records were updated/deleted. A small utility gem to solve this problem.
Read on github.com →