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

Support for the :touch option in relations

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

      This pull request add the Document#touch method with params to define which field you want touch. And the :touch option in belongs_to association to touch parent document if child document is touch.

      This change is compatible to ActiveRecord API about touch (http://apidock.com/rails/ActiveRecord/Persistence/touch )

      Can fix MONGOID-1799

            Assignee:
            Unassigned Unassigned
            Reporter:
            shingara Cyril Mougel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: