提交 e5c46246 编写于 作者: S Sean Griffin

Merge pull request #17252 from Bounga/update_all_doc_clarification

[ci skip] Clarify `#update_all` doc about values processing
......@@ -305,7 +305,8 @@ def scoping
# Updates all records with details given if they match a set of conditions supplied, limits and order can
# also be supplied. This method constructs a single SQL UPDATE statement and sends it straight to the
# database. It does not instantiate the involved models and it does not trigger Active Record callbacks
# or validations.
# or validations. Values passed to `update_all` will not go through ActiveRecord's type-casting behavior.
# It should receive only values that can be passed as-is to the SQL database.
#
# ==== Parameters
#
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册