I’m using ActiveAdmin with Rails 3.1. The only images (that I’m aware of) that this gem uses are sorting arrows in the header rows of tables. In development, the CSS properly references these images:
table.index_table th.sortable a {
background: url("/assets/active_admin/orderable.png") no-repeat 0 4px;
padding-left: 13px;
}
In production, the CSS does not properly reference these images, resulting in a 404:
table.index_table th.sortable a {
background: url("/images/active_admin/orderable.png") no-repeat 0 4px;
padding-left: 13px;
}
Here is the relevant content from my Gemfile:
gem 'rails', '3.1.1'
group :assets do
gem 'sass-rails', '~> 3.1.0'
gem 'coffee-rails', '~> 3.1.0'
gem 'uglifier'
end
gem 'activeadmin', :git => 'git://github.com/gregbell/active_admin.git'
There ended up being an issue submitted to the ActiveAdmin git repository for this. The solution (for me) was to upgrade my sass-rails gem to 3.1.4.