Making it possible for users to easily register existing MACs
This commit is contained in:
@@ -15,6 +15,7 @@ class User < ActiveRecord::Base
|
||||
has_many :user_certifications
|
||||
has_many :certifications, :through => :user_certifications
|
||||
has_many :payments
|
||||
has_many :macs
|
||||
|
||||
validates_format_of [:twitter_url, :facebook_url, :github_url, :website_url], :with => URI::regexp(%w(http https)), :allow_blank => true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user