{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/f5c893d10022c94d11aa9c430070f319?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"f5c893d10022c94d11aa9c430070f319","url":"https://api.github.com/users/jcarlson","login":"jcarlson","id":57132},"milestone":null,"assignee":null,"labels":[{"name":"Rails3.1","color":"e102d8","url":"https://api.github.com/repos/gregbell/active_admin/labels/Rails3.1"},{"name":"Support","color":"d7e102","url":"https://api.github.com/repos/gregbell/active_admin/labels/Support"}],"updated_at":"2011-11-03T13:31:14Z","comments":4,"closed_at":null,"url":"https://api.github.com/repos/gregbell/active_admin/issues/630","body":"Just starting this issue as a tracking point for compatibility issues when upgrading from Rails 3.1.0 to 3.1.1.\r\n\r\nAsset paths in CSS assets utilizing `ActiveAdmin::Sass::Helpers#active_admin_image_path` do not resolve correctly in Rails 3.1.1.\r\n\r\nFor example, in Rails 3.1.0, the generated css in active_admin.css returns:\r\n\r\n```css\r\n/* line 248, /Library/Ruby/Gems/1.8/gems/activeadmin-0.3.0/app/assets/stylesheets/active_admin/_forms.css.scss */\r\nform.filter_form .filter_form_field.filter_date_range input[type=text] {\r\n  background: white url(\"/assets/active_admin/datepicker/datepicker-input-icon.png\") no-repeat 100% 7px;\r\n  padding-right: 27px;\r\n  width: 71px;\r\n}\r\n```\r\n\r\nMeanwhile, Rails 3.1.1 generates the following:\r\n\r\n```css\r\n\r\n/* line 248, /Library/Ruby/Gems/1.8/gems/activeadmin-0.3.0/app/assets/stylesheets/active_admin/_forms.css.scss */\r\nform.filter_form .filter_form_field.filter_date_range input[type=text] {\r\n  background: white url(\"/images/active_admin/datepicker/datepicker-input-icon.png\") no-repeat 100% 7px;\r\n  padding-right: 27px;\r\n  width: 71px;\r\n}\r\n```\r\n\r\nNotice that the image path begins with `/images` and not `/assets` as it should.\r\n\r\nI'm happy to help forward this issue to the Rails issue tracker if I can pin down exactly what the problem is, but so far, I haven't traced the issue to a root cause...\r\n\r\nAs an aside, I was able to replicate this with ActiveAdmin v0.3.0 and v0.3.2.","html_url":"https://github.com/gregbell/active_admin/issues/630","title":"Asset path issue with Rails 3.1.1","number":630,"id":1923938,"created_at":"2011-10-16T23:50:42Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/781f66c42983ae7ee3123bbd620d8568?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"781f66c42983ae7ee3123bbd620d8568","url":"https://api.github.com/users/mhuggins","login":"mhuggins","id":169093},"updated_at":"2011-11-03T13:31:14Z","url":"https://api.github.com/repos/gregbell/active_admin/issues/comments/2616900","body":"@jcarlson - I'm having the same issue as you with my Rails 3.1.1 app.  Not sure why.","id":2616900,"created_at":"2011-11-03T13:31:14Z"}}