Skip to content

Updated users scope definition to not to use where

Smriti Garg requested to merge redefined_scope_to_not_use_in_condition into master

What does this MR do and why?

To address the best practices when defining a scope for a model As per the discussion here, scopes should not contain where statements and with this change !141907 (comment 1782608999)

Edited by Smriti Garg

Merge request reports