From 16f0f940c8f1ad1f6459c1f9c3a50616d54b29cf Mon Sep 17 00:00:00 2001 From: Vladimir Krylov Date: Thu, 21 Apr 2016 12:38:15 +0300 Subject: [PATCH] Story#117991277 - switch off Contact's birthday and cc=EE validation on update for now --- app/models/contact.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/contact.rb b/app/models/contact.rb index 090e64866..57174296a 100644 --- a/app/models/contact.rb +++ b/app/models/contact.rb @@ -253,7 +253,7 @@ class Contact < ActiveRecord::Base errors.add(:ident, err_msg) end when BIRTHDAY - errors.add(:ident, err_msg) + errors.add(:ident, err_msg) if id.blank? # only for create action right now. Later for all of them end end end