diff --git a/app/models/journal.rb b/app/models/journal.rb index b943bd4..185cc79 100644 --- a/app/models/journal.rb +++ b/app/models/journal.rb @@ -19,7 +19,7 @@ class Journal < ApplicationRecord details = self.journal_details.select(:property, :prop_key, :old_value, :value).pluck(:property, :prop_key, :old_value, :value) if details.size > 0 details.each do |de| - unless de[1] == "description" + unless de[1].to_s == "description" if de[0] == "attr" content = "" else