app/models/account_domain.rb in iugusdk-1.0.0.alpha.5 vs app/models/account_domain.rb in iugusdk-1.0.0.alpha.7
- old
+ new
@@ -1,7 +1,9 @@
require 'resolv'
require 'uri'
class AccountDomain < ActiveRecord::Base
+ include ActiveUUID::UUID
+
belongs_to :account
validates :url, :account_id, :presence => true
validate :validate_pattern, :validate_blacklist
attr_accessible :url