aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2015-03-11 15:26:14 +0100
committerYves Senn <yves.senn@gmail.com>2015-03-11 15:26:14 +0100
commit1b7ae86f262df7d15b57be3b4a4f38680ce37c64 (patch)
tree0960da69dc39e93c382371f799275b889561587d /guides
parent9cb07a429a09b3b9b83ec31ef3d065a26921829c (diff)
parenteb9f0a0d14fe5b42b215d57865c9b9b768b49503 (diff)
downloadrails-1b7ae86f262df7d15b57be3b4a4f38680ce37c64.tar.gz
rails-1b7ae86f262df7d15b57be3b4a4f38680ce37c64.tar.bz2
rails-1b7ae86f262df7d15b57be3b4a4f38680ce37c64.zip
Merge pull request #19289 from ahmad-alkheat/master
Unnecessary usage of self in the guides [ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/active_record_callbacks.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_callbacks.md b/guides/source/active_record_callbacks.md
index e65ab802c0..13989a3b33 100644
--- a/guides/source/active_record_callbacks.md
+++ b/guides/source/active_record_callbacks.md
@@ -68,7 +68,7 @@ class User < ActiveRecord::Base
protected
def normalize_name
- self.name = self.name.downcase.titleize
+ self.name = name.downcase.titleize
end
def set_location