{"action":"created","issue":{"url":"https://api.github.com/repos/trailblazer/trailblazer-rails/issues/31","repository_url":"https://api.github.com/repos/trailblazer/trailblazer-rails","labels_url":"https://api.github.com/repos/trailblazer/trailblazer-rails/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/trailblazer/trailblazer-rails/issues/31/comments","events_url":"https://api.github.com/repos/trailblazer/trailblazer-rails/issues/31/events","html_url":"https://github.com/trailblazer/trailblazer-rails/pull/31","id":167049438,"number":31,"title":"Engine concept loading + better STI model support","user":{"login":"rosskevin","id":136564,"avatar_url":"https://avatars.githubusercontent.com/u/136564?v=3","gravatar_id":"","url":"https://api.github.com/users/rosskevin","html_url":"https://github.com/rosskevin","followers_url":"https://api.github.com/users/rosskevin/followers","following_url":"https://api.github.com/users/rosskevin/following{/other_user}","gists_url":"https://api.github.com/users/rosskevin/gists{/gist_id}","starred_url":"https://api.github.com/users/rosskevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosskevin/subscriptions","organizations_url":"https://api.github.com/users/rosskevin/orgs","repos_url":"https://api.github.com/users/rosskevin/repos","events_url":"https://api.github.com/users/rosskevin/events{/privacy}","received_events_url":"https://api.github.com/users/rosskevin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-07-22T13:49:52Z","updated_at":"2016-08-26T21:59:40Z","closed_at":"2016-08-16T09:50:35Z","pull_request":{"url":"https://api.github.com/repos/trailblazer/trailblazer-rails/pulls/31","html_url":"https://github.com/trailblazer/trailblazer-rails/pull/31","diff_url":"https://github.com/trailblazer/trailblazer-rails/pull/31.diff","patch_url":"https://github.com/trailblazer/trailblazer-rails/pull/31.patch"},"body":"- Allow concepts to be loaded from engines\r\n- Re-sort load order so that all models are first (better support for STI models).  Note this is a 99% solution, for outliers you may still need to be explicit and use `require_dependency`\r\n\r\nThis closes #13, #14, #30.\r\n\r\ncc: @apotonick "},"comment":{"url":"https://api.github.com/repos/trailblazer/trailblazer-rails/issues/comments/242862188","html_url":"https://github.com/trailblazer/trailblazer-rails/pull/31#issuecomment-242862188","issue_url":"https://api.github.com/repos/trailblazer/trailblazer-rails/issues/31","id":242862188,"user":{"login":"rosskevin","id":136564,"avatar_url":"https://avatars.githubusercontent.com/u/136564?v=3","gravatar_id":"","url":"https://api.github.com/users/rosskevin","html_url":"https://github.com/rosskevin","followers_url":"https://api.github.com/users/rosskevin/followers","following_url":"https://api.github.com/users/rosskevin/following{/other_user}","gists_url":"https://api.github.com/users/rosskevin/gists{/gist_id}","starred_url":"https://api.github.com/users/rosskevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosskevin/subscriptions","organizations_url":"https://api.github.com/users/rosskevin/orgs","repos_url":"https://api.github.com/users/rosskevin/repos","events_url":"https://api.github.com/users/rosskevin/events{/privacy}","received_events_url":"https://api.github.com/users/rosskevin/received_events","type":"User","site_admin":false},"created_at":"2016-08-26T21:59:40Z","updated_at":"2016-08-26T21:59:40Z","body":"The only real caveat to this is that operations that inherit from other operations (and override methods such as `process`) can get overwritten due to load order.  It's a strange edge case occurrence, and even though the hierarchy shouldn't be violated, for some reason, a more-base-class required later appears to overwrite the implementation of the subclass's method.  Explicit use of `require_dependency` solves it.\r\n\r\nI don't have a better solution to this, other than to suggest adding a warning in the readme.  On the outside, it seems like trb isn't working, but diving in shows the load order problem.  \r\n\r\n"}}
{"actor":{"display_login":"rosskevin"}}