Skip to content

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

stop autoloading Journal during initialization

Christophe Bliarda150accde255
diff --git a/lib/plugins/acts_as_journalized/lib/acts/journalized/options.rb b/lib/plugins/acts_as_journalized/lib/acts/journalized/options.rb
index 6a00a0dee29..3de387fd91c 100644
--- a/lib/plugins/acts_as_journalized/lib/acts/journalized/options.rb
+++ b/lib/plugins/acts_as_journalized/lib/acts/journalized/options.rb
@@ -103,7 +103,7 @@ module Acts::Journalized
def options_with_defaults(options)
{
- class_name: Journal.name,
+ class_name: 'Journal',
dependent: :destroy,
foreign_key: :journable_id,
timestamp: :updated_at,