Skip to content

Conversation

@AndrewPratley
Copy link

@AndrewPratley AndrewPratley commented May 20, 2018

I'm not sure if this is expected behaviour, but I noticed this while working with paranoia in one of our projects at work.

If you use .update on class that has a has_many :through relationship, and you are removing related items, the link table record will be destroyed (read: really_destroyed) even though it has acts_as_paranoid on the model.

This fixes that issue.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants