Add :touch option to model save method

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0
    • Affects Version/s: None
    • Component/s: Persistence
    • None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None

      Ruby on Rails active_record has option {touch: false}, when record is saved to database, since version 5. https://blog.bigbinary.com/2016/05/09/rails-5-allows-updating-without-updating-timestamps.html

      I can not find if this (or similar) option is implemented in mongoid too. I can see that mongoid has options parameters implemented on save method, but it looks like they are ignored.

      Can you please implement this functionality.

      by
      TheR

            Assignee:
            Neil Shweky (Inactive)
            Reporter:
            Damjan Rems
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: