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
Use model.customizable? because that is the right way to decide whether a model implements custom fields.
Dombi Attilaa8aedc8703a2
diff --git a/app/services/journals/create_service/customizable.rb b/app/services/journals/create_service/customizable.rbindex ac76db2342f..e154afe62bf 100644--- a/app/services/journals/create_service/customizable.rb+++ b/app/services/journals/create_service/customizable.rb@@ -31,7 +31,7 @@class Journals::CreateServiceclass Customizable < Associationdef associated?- journable.respond_to?(:customizable?)+ journable.customizable?enddef cleanup_predecessor(predecessor)