{"action":"created","issue":{"url":"https://api.github.com/repos/composite-primary-keys/composite_primary_keys/issues/359","repository_url":"https://api.github.com/repos/composite-primary-keys/composite_primary_keys","labels_url":"https://api.github.com/repos/composite-primary-keys/composite_primary_keys/issues/359/labels{/name}","comments_url":"https://api.github.com/repos/composite-primary-keys/composite_primary_keys/issues/359/comments","events_url":"https://api.github.com/repos/composite-primary-keys/composite_primary_keys/issues/359/events","html_url":"https://github.com/composite-primary-keys/composite_primary_keys/issues/359","id":156751370,"number":359,"title":"update_all error introduced in 8.1.3","user":{"login":"dahlb2","id":7560377,"avatar_url":"https://avatars.githubusercontent.com/u/7560377?v=3","gravatar_id":"","url":"https://api.github.com/users/dahlb2","html_url":"https://github.com/dahlb2","followers_url":"https://api.github.com/users/dahlb2/followers","following_url":"https://api.github.com/users/dahlb2/following{/other_user}","gists_url":"https://api.github.com/users/dahlb2/gists{/gist_id}","starred_url":"https://api.github.com/users/dahlb2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dahlb2/subscriptions","organizations_url":"https://api.github.com/users/dahlb2/orgs","repos_url":"https://api.github.com/users/dahlb2/repos","events_url":"https://api.github.com/users/dahlb2/events{/privacy}","received_events_url":"https://api.github.com/users/dahlb2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-05-25T13:30:49Z","updated_at":"2016-08-22T14:49:05Z","closed_at":null,"body":"error does not exist in version 8.1.2 but happens in 8.1.3.\r\n\r\nModel.update_all({phone_number: '5555550100'})\r\n\r\nNoMethodError:\r\n       undefined method `map' for \"id\":String\r\n     # /ruby-2.1.6/gems/composite_primary_keys-8.1.3/lib/composite_primary_keys/connection_adapters/abstract_mysql_adapter.rb:18:in `subquery_for'\r\n     # /gems/ruby-2.1.6/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract/database_statements.rb:334:in `join_to_update'\r\n     # /gems/ruby-2.1.6/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:342:in `join_to_update'\r\n     # /gems/ruby-2.1.6/gems/activerecord-4.2.6/lib/active_record/relation.rb:337:in `update_all'\r\n     # /gems/ruby-2.1.6/gems/activerecord-4.2.6/lib/active_record/querying.rb:8:in `update_all'\r\n     # ./lib/tasks/prod_replication.rake:27:in `block (3 levels) in <top (required)>'\r\n"},"comment":{"url":"https://api.github.com/repos/composite-primary-keys/composite_primary_keys/issues/comments/241437350","html_url":"https://github.com/composite-primary-keys/composite_primary_keys/issues/359#issuecomment-241437350","issue_url":"https://api.github.com/repos/composite-primary-keys/composite_primary_keys/issues/359","id":241437350,"user":{"login":"dahlb2","id":7560377,"avatar_url":"https://avatars.githubusercontent.com/u/7560377?v=3","gravatar_id":"","url":"https://api.github.com/users/dahlb2","html_url":"https://github.com/dahlb2","followers_url":"https://api.github.com/users/dahlb2/followers","following_url":"https://api.github.com/users/dahlb2/following{/other_user}","gists_url":"https://api.github.com/users/dahlb2/gists{/gist_id}","starred_url":"https://api.github.com/users/dahlb2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dahlb2/subscriptions","organizations_url":"https://api.github.com/users/dahlb2/orgs","repos_url":"https://api.github.com/users/dahlb2/repos","events_url":"https://api.github.com/users/dahlb2/events{/privacy}","received_events_url":"https://api.github.com/users/dahlb2/received_events","type":"User","site_admin":false},"created_at":"2016-08-22T14:49:05Z","updated_at":"2016-08-22T14:49:05Z","body":"yeah still same error happening in 8.1.4"}}
{"actor":{"display_login":"dahlb2"}}