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

Timestamps temporary disabled

    • Type: Icon: Task Task
    • Resolution: Done
    • 2.3.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      More a feature than a bug.

      It's not possible currently to just disable the update_at timestamp just before a save.
      It can be useful if your model contains informations that are not really updates like a counter or some other fields.

      It would be great to just call a method like model.disable_timestamps just before a save and than the timestamps are disabled just for this update.

            Assignee:
            Unassigned Unassigned
            Reporter:
            ys ys
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: