potential fix for #3783

This commit is contained in:
Albert Yi
2018-07-26 18:10:27 -07:00
parent 2b3352469d
commit 9082ddf455
2 changed files with 20 additions and 1 deletions
+1 -1
View File
@@ -542,7 +542,7 @@ class Post < ApplicationRecord
end
def tag_array_was
@tag_array_was ||= Tag.scan_tags(tag_string_before_last_save || tag_string_was)
@tag_array_was ||= Tag.scan_tags(tag_string_in_database.presence || tag_string_before_last_save || "")
end
def tags