{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/6c761866882fe1f1890ca32d9d03ab8c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"6c761866882fe1f1890ca32d9d03ab8c","url":"https://api.github.com/users/luigi-sk","login":"luigi-sk","id":156544},"milestone":null,"assignee":null,"labels":[],"updated_at":"2011-11-12T12:50:52Z","closed_at":null,"comments":0,"url":"https://api.github.com/repos/spree/spree/issues/754","body":"This error return when I go to order -> customer details\r\n\r\n```\r\nStarted GET \"/admin/orders/R056178288/user\" for 89.173.150.167 at 2011-11-12 13:42:41 +0100\r\n  Processing by Admin::OrdersController#user as HTML\r\n  Parameters: {\"id\"=>\"R056178288\"}\r\nRendered /usr/home/spisakriding/app/shared/bundle/ruby/1.9.1/bundler/gems/spree-54ac9f4bf563/core/app/views/admin/shared/_order_tabs.html.erb (6.7ms)\r\nRendered /usr/home/spisakriding/app/shared/bundle/ruby/1.9.1/bundler/gems/spree-54ac9f4bf563/core/app/views/shared/_error_messages.html.erb (0.1ms)\r\nRendered /usr/home/spisakriding/app/shared/bundle/ruby/1.9.1/bundler/gems/spree-54ac9f4bf563/core/app/views/admin/shared/_address_form.html.erb (33.0ms)\r\nRendered /usr/home/spisakriding/app/shared/bundle/ruby/1.9.1/bundler/gems/spree-54ac9f4bf563/core/app/views/admin/shared/_address_form.html.erb (20.4ms)\r\nRendered /usr/home/spisakriding/app/shared/bundle/ruby/1.9.1/bundler/gems/spree-54ac9f4bf563/core/app/views/admin/orders/_user_form.html.erb (68.4ms)\r\nRendered /usr/home/spisakriding/app/shared/bundle/ruby/1.9.1/bundler/gems/spree-54ac9f4bf563/core/app/views/admin/orders/user.html.erb within layouts/admin (82.6ms)\r\nCompleted 500 Internal Server Error in 223ms\r\n\r\nActionView::Template::Error (admin/address_states.js isn't precompiled):\r\n    43: </p>\r\n    44: \r\n    45: <% content_for :head do %>\r\n    46:   <%= javascript_include_tag '/states.js', 'admin/address_states.js' %>\r\n    47: <% end %>\r\n\r\n```\r\n\r\nI fix it with adding assets.precompile in config/application.rb.\r\n\r\n    config.assets.precompile += ['admin/address_states.js']\r\n\r\n\r\n","html_url":"https://github.com/spree/spree/issues/754","title":"admin/address_states.js isn't precompiled","number":754,"id":2217008,"created_at":"2011-11-12T12:50:51Z"},"action":"opened"}