{"action":"closed","issue":{"url":"https://api.github.com/repos/fiksu/partitioned/issues/56","labels_url":"https://api.github.com/repos/fiksu/partitioned/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/fiksu/partitioned/issues/56/comments","events_url":"https://api.github.com/repos/fiksu/partitioned/issues/56/events","html_url":"https://github.com/fiksu/partitioned/issues/56","id":61247308,"number":56,"title":"docs issue","user":{"login":"jaypatrickhoward","id":1930034,"avatar_url":"https://avatars.githubusercontent.com/u/1930034?v=3","gravatar_id":"","url":"https://api.github.com/users/jaypatrickhoward","html_url":"https://github.com/jaypatrickhoward","followers_url":"https://api.github.com/users/jaypatrickhoward/followers","following_url":"https://api.github.com/users/jaypatrickhoward/following{/other_user}","gists_url":"https://api.github.com/users/jaypatrickhoward/gists{/gist_id}","starred_url":"https://api.github.com/users/jaypatrickhoward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaypatrickhoward/subscriptions","organizations_url":"https://api.github.com/users/jaypatrickhoward/orgs","repos_url":"https://api.github.com/users/jaypatrickhoward/repos","events_url":"https://api.github.com/users/jaypatrickhoward/events{/privacy}","received_events_url":"https://api.github.com/users/jaypatrickhoward/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-13T21:19:24Z","updated_at":"2015-09-16T20:06:07Z","closed_at":"2015-09-16T20:06:07Z","body":"To enable a model for bulk inserting the docs recommend doing this:\r\n\r\n```\r\nclass Company < ActiveRecord::Base\r\n  extend Partitioned::BulkMethodsMixin\r\nend\r\n```\r\n\r\nThis doesn't actually work, though, since BulkMethodsMixin was moved to its own gem (which is required by 'partitioned').  Instead I had to:\r\n\r\n```\r\nclass Company < ActiveRecord::Base\r\n  extend BulkMethodsMixin\r\nend\r\n```"}}