Module: Protector::Adapters::ActiveRecord::CollectionProxy

Extended by:
ActiveSupport::Concern
Defined in:
lib/protector/adapters/active_record/collection_proxy.rb

Overview

Patches ActiveRecord::Associations::CollectionProxy

Instance Method Summary collapse

Instance Method Details

#restrict!(*args) ⇒ Object



9
10
11
12
# File 'lib/protector/adapters/active_record/collection_proxy.rb', line 9

def restrict!(*args)
  @association.restrict!(*args)
  self
end