aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2013-10-15 23:28:34 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2013-10-15 23:28:34 +0530
commit403efc3b3a278f7e137e6493563d2ef4710740eb (patch)
treeb357e66d745c592ac66d3fe1d78e33c854cbb50f /guides
parentdd37ff81d13136a5e8a78f79d8b1cd11e2427e01 (diff)
parente9a1ecd583f3993c696a1cc95e182dcbe346553b (diff)
downloadrails-403efc3b3a278f7e137e6493563d2ef4710740eb.tar.gz
rails-403efc3b3a278f7e137e6493563d2ef4710740eb.tar.bz2
rails-403efc3b3a278f7e137e6493563d2ef4710740eb.zip
Merge branch 'master' of github.com:rails/docrails
Diffstat (limited to 'guides')
-rw-r--r--guides/source/action_controller_overview.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/action_controller_overview.md b/guides/source/action_controller_overview.md
index 8dfecd0190..cd4a1a0792 100644
--- a/guides/source/action_controller_overview.md
+++ b/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