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

Add :touch option to model save method

    XMLWordPrintable

Details

    • Improvement
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • Persistence
    • None
    • Fully Compatible

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            ther Damjan Rems
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: