{"action":"created","issue":{"url":"https://api.github.com/repos/activeadmin/activeadmin/issues/5076","repository_url":"https://api.github.com/repos/activeadmin/activeadmin","labels_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/5076/labels{/name}","comments_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/5076/comments","events_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/5076/events","html_url":"https://github.com/activeadmin/activeadmin/pull/5076","id":241475022,"number":5076,"title":"Fix sometimes broken ActiveAdmin.application.load_paths","user":{"login":"mluts","id":15202437,"avatar_url":"https://avatars3.githubusercontent.com/u/15202437?v=3","gravatar_id":"","url":"https://api.github.com/users/mluts","html_url":"https://github.com/mluts","followers_url":"https://api.github.com/users/mluts/followers","following_url":"https://api.github.com/users/mluts/following{/other_user}","gists_url":"https://api.github.com/users/mluts/gists{/gist_id}","starred_url":"https://api.github.com/users/mluts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mluts/subscriptions","organizations_url":"https://api.github.com/users/mluts/orgs","repos_url":"https://api.github.com/users/mluts/repos","events_url":"https://api.github.com/users/mluts/events{/privacy}","received_events_url":"https://api.github.com/users/mluts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-07-08T19:33:36Z","updated_at":"2017-07-09T16:16:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/activeadmin/activeadmin/pulls/5076","html_url":"https://github.com/activeadmin/activeadmin/pull/5076","diff_url":"https://github.com/activeadmin/activeadmin/pull/5076.diff","patch_url":"https://github.com/activeadmin/activeadmin/pull/5076.patch"},"body":"Rails.root is always `nil` when active_admin/application.rb is loaded.\r\n\r\nInitialize this setting at it's first-time use, so `Rails.root` will\r\nbe already there.\r\n\r\nMy application don't start when `CWD` is `$HOME`, `load_paths` don't clean-up and my application crashes because of circular dependency that is caused by same file names in `app/admin` and `app/models` directories.\r\n\r\nAfter these changes tests are green without setting `load_paths` in `application_spec.rb`"},"comment":{"url":"https://api.github.com/repos/activeadmin/activeadmin/issues/comments/313929537","html_url":"https://github.com/activeadmin/activeadmin/pull/5076#issuecomment-313929537","issue_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/5076","id":313929537,"user":{"login":"mluts","id":15202437,"avatar_url":"https://avatars3.githubusercontent.com/u/15202437?v=3","gravatar_id":"","url":"https://api.github.com/users/mluts","html_url":"https://github.com/mluts","followers_url":"https://api.github.com/users/mluts/followers","following_url":"https://api.github.com/users/mluts/following{/other_user}","gists_url":"https://api.github.com/users/mluts/gists{/gist_id}","starred_url":"https://api.github.com/users/mluts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mluts/subscriptions","organizations_url":"https://api.github.com/users/mluts/orgs","repos_url":"https://api.github.com/users/mluts/repos","events_url":"https://api.github.com/users/mluts/events{/privacy}","received_events_url":"https://api.github.com/users/mluts/received_events","type":"User","site_admin":false},"created_at":"2017-07-09T16:16:22Z","updated_at":"2017-07-09T16:16:22Z","body":"@Fivell i think file generators should follow the convention\r\n\r\nThe application is broken after using generators only. https://gist.github.com/mluts/7f6fb56574d92b30d17f2f213d208900 "}}
{"actor":{"display_login":"mluts"}}