{"action":"opened","issue":{"number":639,"created_at":"2011-10-18T04:57:55Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I had a section that looked like this:\r\n\r\n    section \"#{Subscription.count} members\", :priority => 5 do\r\n      # ...\r\n    end\r\n\r\nRunning `rake assets:clean` or `rake assets:precompile` caused:\r\n\r\n```\r\nrake aborted!\r\nPGError: ERROR:  relation \"subscriptions\" does not exist\r\nLINE 4:              WHERE a.attrelid = '\"subscriptions\"'::regclass\r\n                                        ^\r\n:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull\r\n              FROM pg_attribute a LEFT JOIN pg_attrdef d\r\n                ON a.attrelid = d.adrelid AND a.attnum = d.adnum\r\n             WHERE a.attrelid = '\"subscriptions\"'::regclass\r\n               AND a.attnum > 0 AND NOT a.attisdropped\r\n             ORDER BY a.attnum\r\n```\r\n\r\nRemoving the interpolated string from `section` fixed it. Worked in 3.1.0 and broke in 3.1.1. \r\n\r\nI reviewed the rails-3.1.1 announcement and I'm taking a guess that this error has something to do with the way that Rails is loaded.\r\n\r\nThis is a low priority/no-fix issue.","comments":0,"title":"Rails 3.1.1 loads the application but does not initialize it","updated_at":"2011-10-18T04:57:55Z","url":"https://api.github.com/repos/gregbell/active_admin/issues/639","id":1936304,"assignee":null,"milestone":null,"closed_at":null,"user":{"gravatar_id":"bab8fefee0f3897f22289ebe50c7fd55","avatar_url":"https://secure.gravatar.com/avatar/bab8fefee0f3897f22289ebe50c7fd55?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/mchung","id":2609,"login":"mchung"},"html_url":"https://github.com/gregbell/active_admin/issues/639","labels":[],"state":"open"},"legacy":{"number":639,"action":"opened","issue":1936304}}