sferik/rails_admin — Issue #1005: Updating associated record inline doesn't work
Author: jcoleman
Created: 2012-02-23 20:30:41+00:00
State: open

If I have a class Parent that has many instance of Child, and a child is already in the parent.children collection, then you can edit that child inline. The editor opens correctly, but when you hit save, instead of JSON coming back like ra.remote-form.js line 88 expects, HTML (the child form re-rendered--but without the submitted changes) is the response. This causes a JS exception to thrown thrown, and also the child object is not updated in the db.

Note: I verified that this is not caused by my recent patch to not force XHTML in HAML.