5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 12:36:22 +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 def save
super super
self[:value] = self[:value].uniq
return true unless changed? return true unless changed?
return true unless inverse? return true unless inverse?