gregbell/active_admin — Issue #710: Filter Admin Users
Author: amzwebcreations
Created: 2011-11-02 09:11:54+00:00
State: open

Hi,

I've generated the AdminUser resource, and have assigned "tasks" to each one (where task is another model. A Task Belongs to AdminUser vica versa).

However, when I set up a a filter in app/admin/tasks.rb:
filter :admin_user

I receive hash values in the drop down instead of emails. The same applies to the form view.

For example I would have:
#
#

shown in the select, instead of their emails. The values however, are set to the AdminUser id.

Any help?