Permalink
Browse files

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

  • Loading branch information...
vijaydev committed Oct 15, 2013
2 parents dd37ff8 + e9a1ecd commit 403efc3b3a278f7e137e6493563d2ef4710740eb
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/action_controller_overview.md
@@ -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

0 comments on commit 403efc3

Please sign in to comment.