You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got an undefined method when trying to create an object that is currently being tracked while using Mongoid.
Using Rails 7.1.3
Ruby 3.3.3
public_activity the latest version.
class Lead
include Mongoid::Document
include PublicActivity::Model
tracked
belongs_to :user
has_many :lead_messages
has_many :campaign_user_lists
accepts_nested_attributes_for :lead_messages
The text was updated successfully, but these errors were encountered:
@jakepham90 Indeed, there’s no such method defined by the gem. It could be our outdated Mongo integration. I just had a quick look at the Mongoid gem and #criteria is seems to be used in many places there. Could you try to submit a PR?
I got an undefined method when trying to create an object that is currently being tracked while using Mongoid.
Using Rails 7.1.3
Ruby 3.3.3
public_activity the latest version.
class Lead
include Mongoid::Document
include PublicActivity::Model
tracked
belongs_to :user
has_many :lead_messages
has_many :campaign_user_lists
accepts_nested_attributes_for :lead_messages
The text was updated successfully, but these errors were encountered: