Skip to content

Commit

Permalink
Merge pull request #19289 from ahmad-alkheat/master
Browse files Browse the repository at this point in the history
Unnecessary usage of self in the guides [ci skip]
  • Loading branch information
senny committed Mar 11, 2015
2 parents 9cb07a4 + eb9f0a0 commit 1b7ae86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/active_record_callbacks.md
Expand Up @@ -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
Expand Down

0 comments on commit 1b7ae86

Please sign in to comment.