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

What replaced update_attributes with options?

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 12_01_17
    • Component/s: None
    • Labels:
      None

      Description

      In Mongoid3 you could do:

      doc.update_attributes!(..., without_protection: true)
      

      How do I do this in Mongoid4?

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: