{"action":"created","issue":{"url":"https://api.github.com/repos/krists/refile-postgres/issues/4","labels_url":"https://api.github.com/repos/krists/refile-postgres/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/krists/refile-postgres/issues/4/comments","events_url":"https://api.github.com/repos/krists/refile-postgres/issues/4/events","html_url":"https://github.com/krists/refile-postgres/issues/4","id":72150142,"number":4,"title":"Assets precompile issue with initializer","user":{"login":"dspaeth-faber","id":7701058,"avatar_url":"https://avatars.githubusercontent.com/u/7701058?v=3","gravatar_id":"","url":"https://api.github.com/users/dspaeth-faber","html_url":"https://github.com/dspaeth-faber","followers_url":"https://api.github.com/users/dspaeth-faber/followers","following_url":"https://api.github.com/users/dspaeth-faber/following{/other_user}","gists_url":"https://api.github.com/users/dspaeth-faber/gists{/gist_id}","starred_url":"https://api.github.com/users/dspaeth-faber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dspaeth-faber/subscriptions","organizations_url":"https://api.github.com/users/dspaeth-faber/orgs","repos_url":"https://api.github.com/users/dspaeth-faber/repos","events_url":"https://api.github.com/users/dspaeth-faber/events{/privacy}","received_events_url":"https://api.github.com/users/dspaeth-faber/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-30T12:57:48Z","updated_at":"2015-05-17T17:59:50Z","closed_at":null,"body":"Hi (again ;)),\r\n\r\nI did discover an issue with 'assets:precompile' (Rails 4).\r\nNormaly Rails 4 does not need a db connection for assets:precompile.\r\nBut with refile-postgres setup within the initializer a connection is needed.\r\n\r\nThis is bad in my case because I don't have a route from my asset hosts to my db servers.\r\n\r\nProc initializer become more and more charming ;)\r\n\r\nregards \r\ndieter\r\n"},"comment":{"url":"https://api.github.com/repos/krists/refile-postgres/issues/comments/102828777","html_url":"https://github.com/krists/refile-postgres/issues/4#issuecomment-102828777","issue_url":"https://api.github.com/repos/krists/refile-postgres/issues/4","id":102828777,"user":{"login":"krists","id":197784,"avatar_url":"https://avatars.githubusercontent.com/u/197784?v=3","gravatar_id":"","url":"https://api.github.com/users/krists","html_url":"https://github.com/krists","followers_url":"https://api.github.com/users/krists/followers","following_url":"https://api.github.com/users/krists/following{/other_user}","gists_url":"https://api.github.com/users/krists/gists{/gist_id}","starred_url":"https://api.github.com/users/krists/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krists/subscriptions","organizations_url":"https://api.github.com/users/krists/orgs","repos_url":"https://api.github.com/users/krists/repos","events_url":"https://api.github.com/users/krists/events{/privacy}","received_events_url":"https://api.github.com/users/krists/received_events","type":"User","site_admin":false},"created_at":"2015-05-17T17:59:50Z","updated_at":"2015-05-17T17:59:50Z","body":"Yes. DB connection should not be used in compilation. The whole initialization process should be reworked to take this and #2 into account. @dspaeth-faber Is this something you would like to try?"}}