Method: Protector::Adapters::Sequel::Model#_associated_dataset
- Defined in:
- lib/protector/adapters/sequel/model.rb
#_associated_dataset(*args) ⇒ Object
This is used whenever we fetch data
108 109 110 111 |
# File 'lib/protector/adapters/sequel/model.rb', line 108 def _associated_dataset(*args) return super unless protector_subject? super.restrict!(protector_subject) end |