提交 0421002d 编写于 作者: S Sebastian Martinez

Fix #update_attributes api format error

上级 e28f9ad9
......@@ -138,7 +138,7 @@ def update_column(name, value)
# will fail and false will be returned.
#
# When updating model attributes, mass-assignment security protection is respected.
# If no +:as+ option is supplied then the :default scope will be used.
# If no +:as+ option is supplied then the +:default+ scope will be used.
# If you want to bypass the protection given by +attr_protected+ and
# +attr_accessible+ then you can do so using the +:without_protection+ option.
def update_attributes(attributes, options = {})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册