jjzjj

ActiveJobs

全部标签

ruby-on-rails - Mongoid::Document 是 GlobalID::ActiveJobs 的标识吗?

根据ActiveJobsguide,第8节,它说:ThisworkswithanyclassthatmixesinGlobalID::Identification,whichbydefaulthasbeenmixedintoActiveModelclasses.Mongoid::Document混合ActiveModel::Model,但我找不到GlobalID::Identification在它的included_modules中。GlobalID::Identification在哪里定义?我可以有效地使用任何Mongoid::Document吗?为我的ActiveJobs?