Method: Protector::Adapters::Sequel::Model#_dataset
- Defined in:
- lib/protector/adapters/sequel/model.rb
#_dataset(*args) ⇒ Object
This is used whenever we call counters and existance checkers
114 115 116 117 |
# File 'lib/protector/adapters/sequel/model.rb', line 114 def _dataset(*args) return super unless protector_subject? super.restrict!(protector_subject) end |