Module: Tenantify::RelationExtension

Defined in:
lib/tenantify/scoped.rb

Instance Method Summary collapse

Instance Method Details

#delete_allObject



88
89
90
91
# File 'lib/tenantify/scoped.rb', line 88

def delete_all
  check_tenant_scope!
  super
end

#destroy_allObject



93
94
95
96
# File 'lib/tenantify/scoped.rb', line 93

def destroy_all
  check_tenant_scope!
  super
end

#update_all(updates) ⇒ Object



83
84
85
86
# File 'lib/tenantify/scoped.rb', line 83

def update_all(updates)
  check_tenant_scope!
  super
end