Return associations with additional records
https://github.com/igorkasyanchuk/with_record this gem was created in 30 minutes to solve one problem with missed User in the dropdown in my one form. User was before softy-deleted, and I’ve got in “edit” form a blank select. But I need to show him in this form so on “update” I won’t override it to NULL.
PS: also I don’t want to show all deleted users, so an option to put “with_deleted” (from paranoia) is not an option. I need to show all active + this 1 deleted :)
PPS: Maybe it will be useful for you too.