Merge 18d0f6215b into 89af26bf18
This commit is contained in:
commit
47c62ba841
11 changed files with 158 additions and 26 deletions
|
|
@ -63,6 +63,9 @@ class User < ActiveRecord::Base
|
|||
|
||||
validate :biography_limit
|
||||
|
||||
validates :website_url, :linkedin, :googleplus, :gnu, :twitter, :gitlab, :github, :gna, :savannah, :diaspora,
|
||||
format: { with: URI.regexp(%w(http https)), message: 'This is an invalid URL. It should start with http or https'}, allow_blank: true
|
||||
|
||||
##
|
||||
# Checkes if the user attended the event
|
||||
# This is used for events that require registration
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue