Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to apply scope belongs_to #194

westonganger opened this issue Dec 18, 2014 · 1 comment


None yet
2 participants
Copy link

commented Dec 18, 2014

Basically ActsAsParanoid has the with_delete: true option. With this option I can use the gem with PublicActivity. It would be nice to have such a feature in this gem.

Excerpt from ActsAsParanoid readme under Assoication section:

belongs_to :parent_including_deleted, :class_name => "Parent", foreign_key => 'parent_id', :with_deleted => true

Would be used in the following way:


This comment has been minimized.

Copy link

commented Feb 25, 2016

belongs_to :parent_including_deleted, -> { with_deleted }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.