christy13/gitty — comment on commit 46eaa1414c861a1ea6c74f5f20145ab7c3b33cc5
File: app/models/profile.rb line 76
By pwnall:

If the user didn't type anything (the url is blank), then make it nil. If they typed something that contains '://', then do nothing, because they're most likely trying to type a full URL, like `http://google.com`. If they typed something that doesn't contain `://`, then add `http://` at the beginning of the URL. They're most likely typing `google.com` instead of `http://google.com`, so this appraoch will auto-fix that.

What do you think, does this make sense?