I currently have a Rails 3.0.10 application, and I have created two models with simple associations: has_many and belongs_to.
After installing the ActiveAdmin plugin and creating the appropriate Ruby resource files, I noticed some strange behavior.
Below you can see that the โJob Fileโ belongs to โfor Ernet Clientsโ. All associations work correctly, but the display name appears as the actual ActiveRecord instead of the client name.

This is a view view when in the "Job File" section:

But if I move on to viewing the actual client, the correct text will appear:

There must be something wrong with the Job File resource that causes it, but I canโt understand what it can be. After googling, I found this: http://groups.google.com/group/activeadmin/browse_thread/thread/2a261e070efa7bae
In JobFile.register, I specified the display name as follows:
filter :ernet_client, :display_name_methods => :display_name
This did not work, and I went through all the other available names to no avail.
I was looking for ActiveAdmin and sass-rails dependencies, it seems the only one - but that is if you are using 3.1 and I am using Rails 3.0.10.
And finally, to make sure my associations really work, I opened the Rails console and created a job file:
job = JobFile.new =>
Everything seems to work as it should.
Does anyone know how to solve this?