5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-27 07:46:21 +00:00

Merge branch 'issue-7537' into panel.testing.sutty.nl

This commit is contained in:
f 2024-03-25 12:19:51 -03:00
commit ee9e4a3d41
No known key found for this signature in database

View file

@ -225,7 +225,7 @@ PostService = Struct.new(:site, :usuarie, :post, :params, keyword_init: true) do
when 'belongs_to', 'has_one' when 'belongs_to', 'has_one'
if value_was.present? if value_was.present?
associated_posts(value_was).each do |remove_post| associated_posts(value_was).each do |remove_post|
remove_relation_from(remove_post[inverse_attribute], value_was) remove_relation_from(remove_post[inverse_attribute], post.uuid.value)
end end
end end