提交 403efc3b 编写于 作者: V Vijay Dev

Merge branch 'master' of github.com:rails/docrails

......@@ -209,7 +209,7 @@ class PeopleController < ActionController::Base
# Request reply.
def update
person = current_account.people.find(params[:id])
person.update_attributes!(person_params)
person.update!(person_params)
redirect_to person
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册