sferik/rails_admin — Issue #949: Empty lightbox for associated model fields
Author: carlosacabrera
Created: 2012-01-30 18:23:27+00:00
State: open

When I try to add items from has_to_many associations or create a new belongs_to item from the form, the lightbox comes up empty in every case.

I don't get any error but I do get the following in the console:

Started GET "/admin/contacts/undefined" for 127.0.0.1 at 2012-01-30 12:19:07 -0600
Processing by RailsAdmin::MainController#show as JS
Parameters: {"model_name"=>"contacts", "id"=>"undefined"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
Contact Load (0.1ms) SELECT "contacts".* FROM "contacts" WHERE "contacts"."id" = 0 LIMIT 1
Completed 406 Not Acceptable in 154ms'

This used to work fine a couple of months ago. I just deployed the app in a new server. Any clue?