OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
get old_value once
Ivan Kuchin7844f3874ec6
diff --git a/lib_static/plugins/acts_as_journalized/lib/acts/journalized/journable_differ.rb b/lib_static/plugins/acts_as_journalized/lib/acts/journalized/journable_differ.rbindex 464ab7afbb1..613a8c9908a 100644--- a/lib_static/plugins/acts_as_journalized/lib/acts/journalized/journable_differ.rb+++ b/lib_static/plugins/acts_as_journalized/lib/acts/journalized/journable_differ.rb@@ -33,8 +33,8 @@ module Acts::Journalizedoriginal_data = original ? normalize_newlines(journaled_attributes(original)) : {}normalize_newlines(journaled_attributes(changed))- .reject { |attribute, new_value| equal_ignoring_empty_string?(original_data[attribute], new_value) }.to_h { |attribute, new_value| [attribute, [original_data[attribute], new_value]] }+ .reject { |_, (old_value, new_value)| equal_ignoring_empty_string?(old_value, new_value) }.with_indifferent_accessend