Open marcomd opened 4 months ago
It's like
has_one :child_with_deleted, -> { with_deleted }, class_name: "ParanoiacChild"
It came to mind while I was writing the description . Up to you whether to keep this PR or discard it. However, I find useful the updated README with an example with has_one
With this PR it is possible to create a
has_one
relationship of deleted records. I added two new tests and I also updated the README