{"action":"created","issue":{"url":"https://api.github.com/repos/datamapper/dm-types/issues/77","repository_url":"https://api.github.com/repos/datamapper/dm-types","labels_url":"https://api.github.com/repos/datamapper/dm-types/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/datamapper/dm-types/issues/77/comments","events_url":"https://api.github.com/repos/datamapper/dm-types/issues/77/events","html_url":"https://github.com/datamapper/dm-types/issues/77","id":60281829,"number":77,"title":"can't modify frozen NilClass","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},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2015-03-08T23:09:35Z","updated_at":"2016-11-28T00:09:20Z","closed_at":"2015-03-09T00:10:55Z","body":"Calling `empty?` on an `has n` association. Ruby 2.2.0, worked previous versions of ruby.\n\n```\nfrom bundle/ruby/2.2.0/gems/dm-types-1.2.2/lib/dm-types/support/dirty_minder.rb:144:in `track'\nfrom bundle/ruby/2.2.0/gems/dm-types-1.2.2/lib/dm-types/support/dirty_minder.rb:161:in `hook_value'\nfrom bundle/ruby/2.2.0/gems/dm-types-1.2.2/lib/dm-types/support/dirty_minder.rb:151:in `set!'\nfrom bundle/ruby/2.2.0/gems/dm-core-1.2.1/lib/dm-core/model.rb:607:in `block (2 levels) in load'\nfrom bundle/ruby/2.2.0/gems/dm-core-1.2.1/lib/dm-core/model.rb:598:in `each'\nfrom bundle/ruby/2.2.0/gems/dm-core-1.2.1/lib/dm-core/model.rb:598:in `block in load'\nfrom bundle/ruby/2.2.0/gems/dm-core-1.2.1/lib/dm-core/model.rb:577:in `map'\nfrom bundle/ruby/2.2.0/gems/dm-core-1.2.1/lib/dm-core/model.rb:577:in `load'\nfrom bundle/ruby/2.2.0/gems/dm-core-1.2.1/lib/dm-core/repository.rb:162:in `read'\nfrom bundle/ruby/2.2.0/gems/dm-core-1.2.1/lib/dm-core/collection.rb:1118:in `lazy_load'\nfrom bundle/ruby/2.2.0/gems/dm-core-1.2.1/lib/dm-core/support/lazy_array.rb:87:in `empty?'\nfrom (irb):2\nfrom bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands/console.rb:110:in `start'\nfrom bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands/console.rb:9:in `start'\nfrom bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:68:in `console'\nfrom bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:39:in `run_command!'\nfrom bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands.rb:17:in `<top (required)>'\nfrom bin/rails:4:in `require'\nfrom bin/rails:4:in `<main>'irb(main):003:0> r.extract_logs.empty?\n```\n"},"comment":{"url":"https://api.github.com/repos/datamapper/dm-types/issues/comments/263158264","html_url":"https://github.com/datamapper/dm-types/issues/77#issuecomment-263158264","issue_url":"https://api.github.com/repos/datamapper/dm-types/issues/77","id":263158264,"user":{"login":"jcran","id":76854,"avatar_url":"https://avatars.githubusercontent.com/u/76854?v=3","gravatar_id":"","url":"https://api.github.com/users/jcran","html_url":"https://github.com/jcran","followers_url":"https://api.github.com/users/jcran/followers","following_url":"https://api.github.com/users/jcran/following{/other_user}","gists_url":"https://api.github.com/users/jcran/gists{/gist_id}","starred_url":"https://api.github.com/users/jcran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcran/subscriptions","organizations_url":"https://api.github.com/users/jcran/orgs","repos_url":"https://api.github.com/users/jcran/repos","events_url":"https://api.github.com/users/jcran/events{/privacy}","received_events_url":"https://api.github.com/users/jcran/received_events","type":"User","site_admin":false},"created_at":"2016-11-28T00:09:20Z","updated_at":"2016-11-28T00:09:20Z","body":"Ran into this as well, accelerated a project's move off datamapper. "}}
{"actor":{"display_login":"jcran"}}