From e570f40a362103e4556a6b11d31b27592a5d201a Mon Sep 17 00:00:00 2001 From: nilsding Date: Sat, 27 Dec 2014 01:45:24 +0100 Subject: [PATCH] WRYYYYYYYYYYYYYYYYYY --- app/models/user.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/user.rb b/app/models/user.rb index c202d696..45b3626a 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -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