sferik/rails_admin — comment on commit 678d8a177e08822c658dce36e84b0e10b0aa9629
File:  line 0
By doug316:

Thank you once again.

I see you've elected to call the owner of the association (i.e. UserController) rather than of the association (AccountsController) to query the associated records. I think instead we need to call AccountsController with a filter param, i.e. user_id as a filter. Reason: In the index action, @model_config is used to call the object_label_method--which is the wrong model in this case. We need to reference the config of the association, not the owner of the association. Resource-fully speaking, that would be more correct anyway.

Your thoughts? I'd be happy to tackle this, or a portion.