Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-4318

Overwriting existing field version in class

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • 12_01_17
    • Affects Version/s: 4.0.0 final
    • Component/s: None
    • None
    • Environment:
      Ubuntu 14.04
      Rails 4.1.15

      I am using a gem that includes the module Mongoid::Audit::Trackable which includes the field "version"

      I am also using the module Mongoid::Versioning which also includes the field "version".

      The problem is my logs are getting flooded with

      "Overwriting existing field version in class X"

      I tried to fork mongoid_audit gem and I added overwrite: true to version field declaration but it did not work.

      Any way to get rid of these warns?

            Assignee:
            Unassigned Unassigned
            Reporter:
            jirico Jirico
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: