This commit is contained in:
r888888888
2017-09-15 11:23:03 -07:00
parent 0985f929cc
commit 2156c79543
2 changed files with 2 additions and 1 deletions

View File

@@ -176,6 +176,7 @@ class FavoriteGroup < ApplicationRecord
return if contains?(post_id)
clear_post_id_array
puts ">>> post_id=#{post_id} post_ids=#{post_ids.inspect}"
update_attributes(:post_ids => add_number_to_string(post_id, post_ids))
end