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

Warnings on protected attributes when calling #dup on mongoid records.

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

      Hi,

      I've got some warning when invoking #dup methods on mongoid records:

      WARNING: Can't mass-assign protected attributes: created_at, updated_at

      This is a regression as it does not happens in mongoid 2.x.

      Thanks.

            Assignee:
            durran Durran Jordan
            Reporter:
            alexistoulotte alexistoulotte
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: