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
{{ message }}
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.
# raise Errors::NotMongoid, "Must be included in a Mongoid::Document" unless self.ancestors.include? Mongoid::Document
in actor.rb. And it looks like it's still working with my User<ActiveRecord::Base model. I only needed to make a new Mongoid based Activity model. As a noob, am I wondering into dangerous territory? It would be really cool if this also support my current data schema.Thanks for the great work!
The text was updated successfully, but these errors were encountered:
This will probably cause issues when loading associated models but I haven't tried it. If this works for you, it would be great if you could submit a pull request with your changes and a test that shows it works with active record.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
So, I commented out:
in actor.rb. And it looks like it's still working with my
User<ActiveRecord::Base
model. I only needed to make a new Mongoid basedActivity
model. As a noob, am I wondering into dangerous territory? It would be really cool if this also support my current data schema.Thanks for the great work!The text was updated successfully, but these errors were encountered: