class RuboCop::Cop::Rails::UniqueValidationWithoutIndex
def unfreeze_scope(scope)
def unfreeze_scope(scope) scope.send_type? && scope.method?(:freeze) ? scope.children.first : scope end
def unfreeze_scope(scope) scope.send_type? && scope.method?(:freeze) ? scope.children.first : scope end