Basic contact delete command implementation

This commit is contained in:
Andres Keskküla 2014-07-28 12:00:55 +03:00
parent 1645b3e96f
commit 65bb5166cc
7 changed files with 65 additions and 1 deletions

View file

@ -1,6 +1,7 @@
class Contact < ActiveRecord::Base
#TODO Foreign contact will get email with activation link/username/temp password
#TODO Phone number validation, in first phase very minimam in order to support current registries
has_many :addresses
validate :ident_must_be_valid