5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 07:56:23 +00:00

fix: guardar valores únicos

This commit is contained in:
f 2024-10-14 17:32:04 -03:00
parent ef05f10b70
commit a36e0e6964
No known key found for this signature in database

View file

@ -36,6 +36,8 @@ class MetadataHasMany < MetadataRelatedPosts
def save
super
self[:value] = self[:value].uniq
return true unless changed?
return true unless inverse?