sferik/rails_admin — Issue #936: Remote Form Modals on "Create" no longer working
Author: mediavine
Created: 2012-01-20 20:57:00+00:00
State: open

My remote form modals for both belong_to and has_many through association are no longer working for me. Let's say I'm editing a Post in my system which has_many tags through taggings (polymorphic on the taggable). When I click "add tag" it takes me into editing the current post in modal form. Not creating a new tag! When I double click on an existing tag, however, it let's me edit it.

Now let's say I edit something with a belongs_to relationship. I can neither add a new nor edit the existing association in the dropdown or it takes me to editing the current selected object in the model.

Wha's weirder is when I close out the model, I get some weird html bugs where it will clone the association boxes on the page and break them.

This happens for me in all 3 web browsers. Chrome, Firefox, and Safari.

I've tried clearing out everything in my rails_admin initializer so it just uses the model definitions. Still not working.

Let me know what you need from me to help debug more.