Merge pull request #19289 from ahmad-alkheat/master
Unnecessary usage of self in the guides [ci skip]
This commit is contained in:
commit
1b7ae86f26
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user