Merge pull request #126 from internetee/story/117991277-ident-cc

Story#117991277 - switch off Contact's birthday and cc=EE validation …
This commit is contained in:
Timo Võhmar 2016-04-21 13:28:08 +03:00
commit 0704aa7604

View file

@ -253,7 +253,7 @@ class Contact < ActiveRecord::Base
errors.add(:ident, err_msg) errors.add(:ident, err_msg)
end end
when BIRTHDAY 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 end
end end