mirror of
https://github.com/internetee/registry.git
synced 2025-07-05 18:53:26 +02:00
Story#116761157 - remove statuses uniqueness validation as no need any more
This commit is contained in:
parent
66e7253dc3
commit
7ea563790d
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ class Contact < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def statuses= arr
|
||||
write_attribute(:statuses, arr.uniq)
|
||||
write_attribute(:statuses, Array(arr).uniq)
|
||||
end
|
||||
|
||||
def to_s
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue