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

Nested Attributes no longer delete in 2.1.2

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

      Using the ryan bates's gem nested_form_for I am able to properly delete the nested attributes (passing the _destroy => 1 param). However since the update to 2.1.2 the delete is no longer performed. I haven't changed a line of code between the 2.

      And my model should be ok:

      embeds_many :credentials
      accepts_nested_attributes_for :credentials, :allow_destroy => true

      Alex

            Assignee:
            Unassigned Unassigned
            Reporter:
            textmaster Alexandre Ponsin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: