Commit 3d65a934 by Weston Ganger

added without_default_scope option

parent 17acf450
......@@ -104,6 +104,17 @@ class Client < ActiveRecord::Base
end
```
If you want to skip adding the default scope
``` ruby
class Client < ActiveRecord::Base
acts_as_paranoid without_default_scope: true
...
end
```
If you want to access soft-deleted associations, override the getter method:
``` ruby
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment