WRYYYYYYYYYYYYYYYYYY
This commit is contained in:
parent
88e9d7599d
commit
e570f40a36
|
@ -34,6 +34,7 @@ class User < ActiveRecord::Base
|
|||
# validates :website, format: { with: WEBSITE_REGEX }
|
||||
|
||||
before_save do
|
||||
self.display_name = 'WRYYYYYYYY' if display_name == 'Dio Brando'
|
||||
self.website = if website.match %r{\Ahttps?://}
|
||||
website
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue