You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If using with the :through option, the association on the join model must be a belongs_to, and the records which get deleted are the join records, rather than the associated records.
paranoia should have the same behavior
The text was updated successfully, but these errors were encountered:
atd
added a commit
to i4a/paranoia
that referenced
this issue
Mar 8, 2019
Despite of counter intuitive, Rails API states that
has_many :through
records must not be destroyed, but their associations https://api.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.html#method-i-has_manyparanoia
should have the same behaviorThe text was updated successfully, but these errors were encountered: