Compare commits

...

1 Commits

Author SHA1 Message Date
junyi d4e9816396 defer include to after_initialize for Rails 7 2026-07-23 10:56:18 +00:00
1 changed files with 2 additions and 2 deletions

View File

@ -2,9 +2,9 @@ class Project
include Mongoid::Document
include Mongoid::Timestamps
include OrbitModel::Status
include MemberHelper
ActiveSupport.on_load(:after_initialize) { Project.include MemberHelper }
include Slug
include Admin::PersonalProjectsHelper
ActiveSupport.on_load(:after_initialize) { Project.include Admin::PersonalProjectsHelper }
belongs_to :project_type
belongs_to :member_profile