{"action":"created","issue":{"url":"https://api.github.com/repos/mike-north/ember-api-actions/issues/9","labels_url":"https://api.github.com/repos/mike-north/ember-api-actions/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/mike-north/ember-api-actions/issues/9/comments","events_url":"https://api.github.com/repos/mike-north/ember-api-actions/issues/9/events","html_url":"https://github.com/mike-north/ember-api-actions/pull/9","id":106220208,"number":9,"title":"Add collectionAction to store","user":{"login":"richmolj","id":55264,"avatar_url":"https://avatars.githubusercontent.com/u/55264?v=3","gravatar_id":"","url":"https://api.github.com/users/richmolj","html_url":"https://github.com/richmolj","followers_url":"https://api.github.com/users/richmolj/followers","following_url":"https://api.github.com/users/richmolj/following{/other_user}","gists_url":"https://api.github.com/users/richmolj/gists{/gist_id}","starred_url":"https://api.github.com/users/richmolj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richmolj/subscriptions","organizations_url":"https://api.github.com/users/richmolj/orgs","repos_url":"https://api.github.com/users/richmolj/repos","events_url":"https://api.github.com/users/richmolj/events{/privacy}","received_events_url":"https://api.github.com/users/richmolj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-13T14:30:16Z","updated_at":"2015-09-13T14:33:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mike-north/ember-api-actions/pulls/9","html_url":"https://github.com/mike-north/ember-api-actions/pull/9","diff_url":"https://github.com/mike-north/ember-api-actions/pull/9.diff","patch_url":"https://github.com/mike-north/ember-api-actions/pull/9.patch"},"body":"Since collection actions aren't related to an instance, it makes sense\r\nto put them on the store (like `findAll`, etc.) instead of an instance.\r\nThis is a backwards-compatible change that just wraps the exisiting\r\ninstance method.\r\n\r\n* Removes 1.11 compatibility (instance initializers not supported)\r\n* Adds 1.13 back to travis\r\n\r\nDiscussion: https://github.com/mike-north/ember-api-actions/issues/8"},"comment":{"url":"https://api.github.com/repos/mike-north/ember-api-actions/issues/comments/139882148","html_url":"https://github.com/mike-north/ember-api-actions/pull/9#issuecomment-139882148","issue_url":"https://api.github.com/repos/mike-north/ember-api-actions/issues/9","id":139882148,"user":{"login":"richmolj","id":55264,"avatar_url":"https://avatars.githubusercontent.com/u/55264?v=3","gravatar_id":"","url":"https://api.github.com/users/richmolj","html_url":"https://github.com/richmolj","followers_url":"https://api.github.com/users/richmolj/followers","following_url":"https://api.github.com/users/richmolj/following{/other_user}","gists_url":"https://api.github.com/users/richmolj/gists{/gist_id}","starred_url":"https://api.github.com/users/richmolj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richmolj/subscriptions","organizations_url":"https://api.github.com/users/richmolj/orgs","repos_url":"https://api.github.com/users/richmolj/repos","events_url":"https://api.github.com/users/richmolj/events{/privacy}","received_events_url":"https://api.github.com/users/richmolj/received_events","type":"User","site_admin":false},"created_at":"2015-09-13T14:33:39Z","updated_at":"2015-09-13T14:33:39Z","body":"I didn't put this on the store directly since it makes sense these methods are defined in a model, and not the application store. I tried to get static methods working (`Person.autocomplete({foo: 'bar'})`) but couldn't figure out a way do to this where I had access to both the store and the model name, without requiring a kind of gnarly setup.\r\n\r\nThis is going to fail for the time being on ember 1.11, since it adds an instance initializer and I'm unsure how to load old-style versus new-style here, or how important that support is."}}