提交 f8cebd89 编写于 作者: R Ryuta Kamizono

Remove `CollectionProxy#uniq`

Since #28473 `uniq` is delegated to `records`, so `CollectionProxy#uniq`
is unnecessary.
上级 c111d1b3
......@@ -743,10 +743,6 @@ def destroy(*records)
# # ]
#--
def uniq
load_target.uniq
end
def calculate(operation, column_name)
null_scope? ? scope.calculate(operation, column_name) : super
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册