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

Timelessness leaks when including Timestamps

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Blocker - P1 Blocker - P1
    • 5.0.1
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      If you include Mongoid::Timestamps, the model class has both Updated and Created, so when you set timeless, it increments the timer by 2, but only decrements by one. so each timeless call causes a future update to be timeless.

            Assignee:
            emily.stolfo Emily Stolfo
            Reporter:
            fatgeekuk fatgeekuk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: