{"action":"created","issue":{"url":"https://api.github.com/repos/datamapper/dm-core/issues/175","repository_url":"https://api.github.com/repos/datamapper/dm-core","labels_url":"https://api.github.com/repos/datamapper/dm-core/issues/175/labels{/name}","comments_url":"https://api.github.com/repos/datamapper/dm-core/issues/175/comments","events_url":"https://api.github.com/repos/datamapper/dm-core/issues/175/events","html_url":"https://github.com/datamapper/dm-core/issues/175","id":2838615,"number":175,"title":"Models in Rails Engines Erroring (1.2.0, I think)","user":{"login":"jkestr","id":10482,"avatar_url":"https://avatars.githubusercontent.com/u/10482?v=3","gravatar_id":"","url":"https://api.github.com/users/jkestr","html_url":"https://github.com/jkestr","followers_url":"https://api.github.com/users/jkestr/followers","following_url":"https://api.github.com/users/jkestr/following{/other_user}","gists_url":"https://api.github.com/users/jkestr/gists{/gist_id}","starred_url":"https://api.github.com/users/jkestr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkestr/subscriptions","organizations_url":"https://api.github.com/users/jkestr/orgs","repos_url":"https://api.github.com/users/jkestr/repos","events_url":"https://api.github.com/users/jkestr/events{/privacy}","received_events_url":"https://api.github.com/users/jkestr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/datamapper/dm-core/milestones/9","html_url":"https://github.com/datamapper/dm-core/milestones/1.3.0","labels_url":"https://api.github.com/repos/datamapper/dm-core/milestones/9/labels","id":45885,"number":9,"title":"1.3.0","description":"Current Highlights:\r\n\r\n* Get to a baseline stable release with bugfixes that have amassed over years of inactivity.\r\n\r\nFormer Highlights:\r\n\r\n  * Improved property API with integrated virtus coercion system\r\n  * Improved finalize process with proper warnings\r\n  * Improved handling of invalid queries","creator":{"login":"solnic","id":1066,"avatar_url":"https://avatars.githubusercontent.com/u/1066?v=3","gravatar_id":"","url":"https://api.github.com/users/solnic","html_url":"https://github.com/solnic","followers_url":"https://api.github.com/users/solnic/followers","following_url":"https://api.github.com/users/solnic/following{/other_user}","gists_url":"https://api.github.com/users/solnic/gists{/gist_id}","starred_url":"https://api.github.com/users/solnic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solnic/subscriptions","organizations_url":"https://api.github.com/users/solnic/orgs","repos_url":"https://api.github.com/users/solnic/repos","events_url":"https://api.github.com/users/solnic/events{/privacy}","received_events_url":"https://api.github.com/users/solnic/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":8,"state":"open","created_at":"2011-10-12T10:13:20Z","updated_at":"2016-05-24T06:19:15Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2012-01-14T00:49:18Z","updated_at":"2016-05-24T06:19:15Z","closed_at":"2016-05-24T06:19:15Z","body":"I've been running into an issue with existing models and engines I have built from previous versions of DataMapper.\r\n\r\nIt appears with 1.2.0, it is no longer possible to have models inside of an engine without explicitly calling #finalize on each model. Is this a known issue, and if so are there any work arounds?\r\n\r\nDataMapper.finalize does not work in this context, as it does not see the models inside of the engines. I tried creating an initializer that calls finalize on each model, but I ran into issues with Devise not yet being loaded.\r\n\r\nWhat did work was putting <Model>.finalize at the bottom of each model definition, but I would rather not have to do that, and I am sure it would only cause other issues with relationships and such."},"comment":{"url":"https://api.github.com/repos/datamapper/dm-core/issues/comments/221176731","html_url":"https://github.com/datamapper/dm-core/issues/175#issuecomment-221176731","issue_url":"https://api.github.com/repos/datamapper/dm-core/issues/175","id":221176731,"user":{"login":"tpitale","id":163,"avatar_url":"https://avatars.githubusercontent.com/u/163?v=3","gravatar_id":"","url":"https://api.github.com/users/tpitale","html_url":"https://github.com/tpitale","followers_url":"https://api.github.com/users/tpitale/followers","following_url":"https://api.github.com/users/tpitale/following{/other_user}","gists_url":"https://api.github.com/users/tpitale/gists{/gist_id}","starred_url":"https://api.github.com/users/tpitale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpitale/subscriptions","organizations_url":"https://api.github.com/users/tpitale/orgs","repos_url":"https://api.github.com/users/tpitale/repos","events_url":"https://api.github.com/users/tpitale/events{/privacy}","received_events_url":"https://api.github.com/users/tpitale/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T06:19:15Z","updated_at":"2016-05-24T06:19:15Z","body":"Moved to https://github.com/datamapper/dm-rails/issues/52"}}
{"actor":{"display_login":"tpitale"}}