Story#116761157 - remove statuses uniqueness validation as no need any more

This commit is contained in:
Vladimir Krylov 2016-05-31 17:40:00 +03:00
parent 66e7253dc3
commit 7ea563790d

View file

@ -268,7 +268,7 @@ class Contact < ActiveRecord::Base
end end
def statuses= arr def statuses= arr
write_attribute(:statuses, arr.uniq) write_attribute(:statuses, Array(arr).uniq)
end end
def to_s def to_s