Module: TenantCheck::ActiveRecord::RelationMethods

Defined in:
lib/tenant_check/active_record/extensions.rb

Instance Method Summary collapse

Instance Method Details

#_tenant_safe_mark?Boolean

Returns:

  • (Boolean)


97
98
99
# File 'lib/tenant_check/active_record/extensions.rb', line 97

def _tenant_safe_mark?
  @_tenant_safe_mark
end

#mark_as_tenant_safeObject



92
93
94
95
# File 'lib/tenant_check/active_record/extensions.rb', line 92

def mark_as_tenant_safe
  @_tenant_safe_mark = true
  self
end